Module for the apache webserver with which apache can be used as proxy server. With this module apache can act as a regular proxy, or as a reverse proxy for upstream servers.

learn more… | top users | synonyms

1
vote
1answer
194 views

apache/mod_proxy: gateway errors after restart

Situation: server running RHEL, Apache, etc with mod_proxy. Was working fine up to a recent restart. Now is throwing "(111)Connection refused: proxy: HTTP: attempt to connect to <IP>:8000 ...
0
votes
1answer
88 views

SaaS style CNAMEs with Apache2

So I have a Rails application behind Apache. It is running via Thin, but all of this really doesn't matter. I'm having trouble getting my SaaS style CNAMEs working. Currently I have two different ...
1
vote
1answer
2k views

proxy: no HTTP 0.9 request (with no host line)

I'm getting a bunch of these errors in my error.log: [client 1.2.3.4] proxy: no HTTP 0.9 request (with no host line) on incoming request and preserver hose set forcing hostname to be ...
-1
votes
1answer
96 views

How to verify mod_proxy settings?

I have an apache httpd (v2.2) in domain aaa.bbb.ccc with mod_proxy settings: /team http://xxx.yyy.zzz/team It just pass url in http://aaa.bbb.ccc/team to http://xxx.yyy.zzz/team. My question is any ...
3
votes
1answer
694 views

Understanding apache 2.4 mod_proxy_fcgi and RewriteRules in htaccess

We've recently switched one of our web servers to apache 2.4 and running PHP via php-fpm and mod_proxy_fcgi. Most everything works quite well, but there is one problem that I don't understand yet. One ...
0
votes
1answer
400 views

apache mod_proxy, page reload and sessions

I use the apache "mod_proxy" to forward all requests to the glassfish server. The relevant apache config is: # proxy to glassfish app ProxyRequests Off ProxyPreserveHost On <Proxy *> ...
0
votes
0answers
84 views

How can I get apache to stop logging header errors?

I may have this set up in a weird/bad way, but the idea I'm going for is to take wildcard subdomains and seamlessly convert them to a different URL behind the scenes that my app understands. My ...
1
vote
1answer
152 views

Apache proxy_mod refresh

I have an apache web server with a ProxyPass configuration to link a Tomcat server: ProxyPass /server http://localhost:8080/server ProxyPassReverse /server http://localhost:8080/server When Tomcat ...
1
vote
1answer
346 views

Apache2 + SSL + Proxy to Sinatra App: Will it work? Or will there be some warning to the user?

I have a situation where the main website is a legacy app written in ColdFusion which I've recently migrated from MX 6.1 to 9.0.1. Another part of the website is a blog/forum in PHP5 on WordPress. ...
1
vote
1answer
194 views

Apache2 mod_proxy: backend servers log frontend server as source of all requests

I have five servers running Ubuntu (LAMP). One of them (called Server1) receves all incomming requests from the internet, and uses VirtualHosts and mod_proxy to deliver the correct request to the ...
1
vote
2answers
846 views

Apache ReverseProxyPass redrects to http rather than https

I have a reverse proxy setup using apache mod_proxy: <VirtualHost *:443> ServerName reverse.server.com ProxyPass / http://10.1.9.11:3000/ ProxyPassReverse / http://10.1.9.11:3000/ ...
1
vote
1answer
1k views

Zimbra 7.2 reverse proxy to arbitrary internal website?

I have ZCS 7.2 opensource installed at webmail.domain.com and mailman on mailman.domain.com/mailman. I wanted to setup a proxy so that when someone goes to webmail.domain.com/mailman, the proxy ...
1
vote
1answer
342 views

Configure HTTP proxy on Amazon EC2

I configured an HTTP proxy server on my EC2 instance using Apache's mod_proxy module. I now want the proxy to accept requests only from my other EC2 instances, how do I achieve that? This is my proxy ...
1
vote
1answer
1k views

Apache2 mod_proxy to remote Tomcat7 - slow response

Been stuck with this one for a few days. Will try to provide as much information as possible, but please feel free to ask for extra detail. I have 2 VMs behind a NAT, 192.168.0.100 and 192.168.0.102, ...
0
votes
1answer
1k views

Mod_proxy Chunk minimum file size

I am using Apache HTTPD 2.2.17 + Mod_proxy + SSL on Ubuntu as a gateway. Everything works fine but when I send a request with Transfer Encoding: Chunked, it converts(de-chunk) back if the file size ...
1
vote
1answer
221 views

apache httpd Redirecting URL based upon Server Name

We have a Jira and a Confluence system at my work. Both are running on the same servers. The actual URL to access Jira and Confluence are: http://foauslxapp05:8080/jira ...
5
votes
1answer
7k views

Apache proxy not working for a localhost port

I have Apache 2.2.15 running on port 80 and want to proxy a servlet engine on localhost port 8983. I have the setup running on another server, but have moved to a CentOS 6 machine. It's not working ...
0
votes
1answer
960 views

Apache forwarding to tomcat shows a blank page

I have an application running on tomcat at http://www.example.com:9090/mycontext. The host name in server.xml points to www.example.com. I do not have localhost anymore. I am using apache to forward ...
0
votes
1answer
313 views

Apache reverse proxy not working like expected

Ok, I'm feeling a bit stupid about this. I'm trying to setup a simple Apache reverse proxy setup and I'm hitting a wall. I've had this setup working in the past, but now I just don't see whats going ...
0
votes
1answer
700 views

mod_proxy: pass path from original request to proxied app

I'm struggling with reverse proxying an app running in a Tomcat server on a closed port behind Apache. For convenience, say that I want to reverse proxy requests for 'http://mydomain/apps/my_app/' to ...
0
votes
1answer
322 views

How to set default URL Path in Tomcat 6

I have installed Tomcat 6 and Jenkins. I can connect to it via http://localhost/jenkins, but i want to access it directly via http://localhost. How can I archive this? My complete setup includes a ...
1
vote
1answer
2k views

Moodle serves on IP only - will not work with mod_proxy

I'm trying to set a moodle server up on an Ubuntu box, which already serves Plone & Trac via Apache. In my Moodle config I have $CFG->wwwroot = 'http://www.server-name.org/moodle' The ...
5
votes
1answer
4k views

mod_deflate - Optimal configuration for most browsers

I was wondering if someone here could help me determine the optimal standard configuration for using mod deflate with Apache. Basically, mod_deflate recommends using the following configuration for ...
0
votes
1answer
675 views

How to exclude a specific URL from basic authentication in Apache?

Two scenarios: Directory I want my entire server to be password-protected, so I included this directory config in my sites-enabled/000-default: <Directory /> Options FollowSymLinks ...
1
vote
1answer
921 views

RedirectMatch redirect every url to https except few urls

At present I am redirecting all http urls to https urls using the following directive, RedirectMatch permanent ^(.*)$ https://someserver.com$1 Now I am stuck with an scenario where I have to ...
1
vote
1answer
232 views

Configuring mod_proxy to forward 503 errors instead of swalling them?

Is it possible to configure Apache's mod_proxy to treat 503 errors as 200, and just forward them to the client directly instead of showing its own error page?
1
vote
1answer
320 views

How to add a specific vhost configuration when using mod_vhost_alias?

I use mod_vhost_alias because it is really easy for me to add new vhost (I just need to create a directory). /etc/apache2/mods-available/vhost_alias.conf UseCanonicalName Off VirtualDocumentRoot ...
1
vote
1answer
512 views

mod_ajp_proxy configurations and session stickiness

I have a jboss and apache setup hosting my .war file. I have enabled session stickiness to forward requests from apache to jboss . Assume I have 2 apache and 2 jboss instances. Is the below setting ...
1
vote
0answers
326 views

How to handle serlvet login redirects which cross reverse proxy virtual host boundary

I'm trying to setup the GlassFish application server behind an Apache reverse proxy. I've got it working with both port 80 and 443, but the problem is the transition between the two that occurs when ...
2
votes
1answer
597 views

apache - mod_rewrite + mod_proxy working in staging, not working in production ( [P] option ignored )

I have set up a redirect in my Apache virtual host serving several subdomains - call them a.example.com and b.example.com - serving a ruby on rails app. On my virtualhost config file I have this ...
2
votes
1answer
89 views

serve all requests via proxy *except* a specific one

I have the following in my httpd.conf <VirtualHost *:80> ServerName foo.org ServerAlias www.foo.org <Proxy *> Options FollowSymLinks MultiViews Order ...
1
vote
0answers
177 views

mod_rewrite: internal rewrite to (fake) clean URL not possible.

This is more a why question. I'm using a CMS that handles clean URLs via mod_rewrite out of the box. Website has a section /accessories that now has to be renamed to /store. Being on lazy mode, I ...
1
vote
1answer
64 views

Is there much overhead from compiling in mod_proxy?

I'm trying to keep my Apache installs as lean as possible, but I sometimes have the requirement to use mod_proxy. Does anyone know if there's much overhead from compiling mod_proxy into Apache rather ...
0
votes
1answer
908 views

Images and AJAX not loading with mod_proxy_html turned on

Our company is currently supporting a (very old) web-enabled database application written in 4th Dimension (2003) with a built-in web server (provided by an extension called Web Server 4D). Since the ...
0
votes
1answer
574 views

Apache proxypass virtual hosting for backend redirection

I have a apache proxy load balancer running. I have a domain wiki.mydomain.com registered to this lb. I am trying to make proxy redirect from wiki.mydomain.com to the backend ...
0
votes
1answer
1k views

Multiple ProxyPass directives for Webmin on Debian Apache Server

I am trying to achieve what is described under: Webmin In A Sub-Directory Via A Proxy on this website Webmin under Apache Guide ...but, with more than one webmin (all on different servers, but ...
1
vote
0answers
72 views

proxying on localhost

2 Servers: Server 1 on 1 public IP, Server 2 on Local LAN. I have this working with a proxy on Server1 right now. But I need to add one localhost on Server2 which is NOT a recognized domain. So I am ...
0
votes
1answer
110 views

Redirect stylesheets through secure url to a different server

I have a domain http://services.mydomain.com which has a secure login through a secure central provider (https://secure.mydomain.com) on a different server with proxypass. When I go to the login page ...
6
votes
1answer
2k views

How can I configure mod_proxy not specifically not cache 503 errors?

This is my mod_proxy config: <IfModule mod_proxy.c> <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /manage/ http://localhost:9000/manage/ ProxyPassReverse /manage/ ...
2
votes
3answers
5k views

Apache ProxyPass Missing Images

I have a apache server that sits in front of my glassfish server. mydomain.com goes directly to my static files on apache, than if you hit the subdomain forum.mydomain.com it goes to the glassfish ...
1
vote
1answer
2k views

Apache / Glassfish integration

So I currently have a glassfish 3.1 server and an apache 2.2 server running on a single box. However I am trying to figure out to route some traffic through the apache server to the glassfish server ...
4
votes
2answers
807 views

mod proxy not working on apache

I am trying to install Mod_Proxy Apache module on WHM/CPanel CeEntOS Linux Server. Here is system info: CentOS release 5.6 (Final) Server version: Apache/2.2.21 (Unix) Cpanel::Easy::Apache v3.7.2 ...
0
votes
1answer
324 views

Glassfish Daemon with Apache and Mod_proxy

I am trying to setup an ubuntu web server which utilizes both Apache's httpd web server for some content and glassfish for Java-based applications. I figured I would use mod_proxy as I've had luck ...
7
votes
3answers
7k views

proxy: pass request body failed

I'm trying to enable proxy virtualhost: <VirtualHost *:80> ServerName xxxxx.domain.tdl SSLProxyEngine On SSLProxyCheckPeerCN on ProxyPass / https://localhost:1234 ProxyPassReverse / ...
2
votes
1answer
160 views

apache httpd keep sending http requests to strange IPs

Recently I noticed my server keeps sending data to strange location "121.11.76.48" by netstat -na . To find out what it is sending , I tried : tcpdump -i eth0 host 121.11.76.48 -nnvvXSs 1514 And ...
2
votes
0answers
625 views

Making mod_proxy_http send back response asynchronously (w/o 100 Continue)

A servlet engine (Jetty) is running behind an Apache Httpd server, forwarded using mod_proxy_http. This is running a small servlet that accepts PUT requests and is authenticated using HTTP Basic ...
0
votes
1answer
438 views

Apache2, mod_proxy, mod_ssl on OSX not working

I am trying to setup apache2 on OSX and am having an issue. I am trying to proxy a domain to 127.0.0.1:8081 (which is up and running) but when try to load through apache I get a "Web Page Not Found". ...
0
votes
1answer
3k views

How to redirect port 80 (Apache) to port 8080 (Tomcat) using mod_proxy

I understand that to redirect from port 80 to port 8080 I can use the Apache module mod_proxy, I understand that I have to change "something" to be like this (example from ...
-1
votes
1answer
244 views

1 static IP, 2 web servers with 2 dns working with mod_proxy. Can I do the same with a CISCO router?

I have: Cisco Router One static IP. 2 different Web servers with 2 domain names I have configured a Apache reverse proxy with mod_proxy and is working ok but.... I´m investigating if its posible ...
0
votes
0answers
294 views

How do I rewrite headers returned from mod_proxy_http in apache?

I have a tomcat container which is sitting behind an Apache 2.2 mod_proxy server. At the moment, the tomcat container, when doing a redirect is redirecting to an absolute URL every time using a code ...