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

2
votes
0answers
666 views

Does Apache2 Configured as ReverseProxy Hide Cookies Set by Backend Servers?

I use Apache 2.2.16 as Reverse Proxy. For a static website, I don't have any issues. However, when began to use cookies, I've noticed that the browser is receiving a different cookie than what was ...
0
votes
2answers
874 views

mod_rewrite+proxy closes connections to backend (keepalive)

We have a fairly typical setup: client <-> apache2 (2.2.22) <-> backend (*). Initially we were using mod_rewrite with the [P] flag in the simplest form: <VirtualHost *:80> ...
3
votes
1answer
1k views

Apache ProxyPassReverse escaping special characters

I have this very simple reverse proxy rule in Apache 2.2.19: ProxyPass /test http://other.local.machine/test ProxyPassReverse /test http://other.local.machine/test The problem is ...
2
votes
1answer
222 views

mod_proxy Fowarding Based on Request Host Header

Lets say I have 3 URLs and they all point to the same reverse proxy. I would like to have the requests being forwarded to the web servers behind the proxy based on the host header: ...
1
vote
2answers
605 views

mod_proxy map http://myserver/game to http://localhost:5732/?

N00b question. I have an URL http://myserver.com/game and would like to call an internal resource http://localhost:5732/ I tried: AllowCONNECT 5732 ProxyPass /game/ http://localhost:5732/ ...
-3
votes
1answer
83 views

Mod_proxy use same RAM as PHP server

I am just trying to understand something... I have configured Apache+modsecurity+mod_proxy to act as a reverse proxy to 4 web backends. This is not in production at this time and I was wondering what ...
6
votes
1answer
2k views

Apache httpd workers retry

I have an Apache httpd web server running mod_proxy and mod_proxy_balancer. The whole of /somedir is sent to 2 worker machines which service the requests using the round robin scheduler. Each worker ...
0
votes
1answer
822 views

Apache ProxyPass/RewriteRule with p flag: Return no content when response has multi-part content type i.e.images

This is a continuation of a previous question which has been implemented with a little change. Following is the structure I am going to talk about. My goal is to create the Tunnel/Proxy. ...
0
votes
2answers
634 views

how can %{BALANCER_WORKER_ROUTE}e be null

I'm trying to set up a balanced cluster with mod_proxy_balancer. I followed the example line from here to set a cookie. I have had to tweak it as the environment is not stable so not every request ...
2
votes
1answer
631 views

Obscuring tomcat context path in URL

I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
0
votes
0answers
345 views

Cannot configure proxyPass for glassfish admin console

I've got the following situation. There is an apache 2.2 server and glassfish 3.1.2 running behind it. All requests to port 80 are redirected to glassfish server through mod_proxy. This is what I ...
2
votes
0answers
448 views

Changing a set-cookie header using mod_rewrite/mod_proxy

I have a bunch of cgi scripts, which are served using HTTPS. They can only be reached on the intranet, not from the outside. They set a cookie with the attribute 'Secure', so that it can only be send ...
1
vote
1answer
982 views

How can I get apache to serve static content in a reverse-proxied setup?

I have a setup where my Tomcat instances are fronted with Apache servers with mod-proxy. I need to serve static content on the reverse-proxy side in case authentication closes my app session (heavy ...
2
votes
2answers
514 views

Can apache forward/route requests based on http header (loadbalancing and bots)

We have a situation where bots comprise 40% of page requests for a slow-performing web application. Short Term Relief As immediate relief, I thought of doing the following: Setting up another ...
0
votes
1answer
69 views

Duplicating web requests between virtual hosts at same server

Let's consider such scenario: Apache based web server runs Python-based software which gathers data from remote devices through custom HTTP-based protocol. Each time remote device wants to submit ...
1
vote
2answers
887 views

Connection refused in ssh tunnel to apache forward proxy setup

I am trying to setup a private forward proxy in a small server. I mean to use it during a conference to tunnel my internet access through an ssh tunnel to the proxy server. So I created a virtual ...
1
vote
1answer
205 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 ...
-1
votes
1answer
93 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
3k 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
98 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
960 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
488 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
195 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
386 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
209 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
972 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
401 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
286 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
9k 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
1k 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
328 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
918 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
341 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 ...
6
votes
1answer
5k 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
764 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
1k 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
243 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
366 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
542 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
355 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
711 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
94 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 ...
2
votes
0answers
195 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
68 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
971 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 ...