httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Didier PH Martin <>
Subject [users@httpd] Strange problem with Reverse proxy in Apache 2.2.3
Date Thu, 26 Oct 2006 02:11:35 GMT

My Apache version is: 2.2.3 installed from the apache friend package for
windows. The server is running on a window XP home version (SP2) with all
the latest updates.

The config is as follow:
LoadModule proxy_module modules/
LoadModule proxy_http_module modules/
LoadModule ssl_module modules/
LoadModule proxy_html_module modules/

<IfModule proxy_module>
    ProxyRequests Off
    SSLProxyEngine On

  <Location /numsum/>
	SetOutputFilter	 proxy-html
	ProxyHTMLURLMap	 /	/numsum/
	ProxyHTMLURLMap	 /numsum	/numsum
	RequestHeader 	 unset	Accept-Encoding

The sequence is as follow: 
Note: (... represent the rest of the URL)
Get a login page from numsum with htpp://localhost/numsum/.... 
Fill the form and do a post to http://localhost/numsum/....
The reply from the post to a 302 redirect

Here is the problem:
If I set the "proxyPassReverse" header as above (by removing the comment #)
then the "location" header in the post reply is et by apache to:
http://localhost/people/.... instead of http://localhost/numsum/people/....
Even more strange. If I comment (placing a # in front of the directive) the
proxyPassReverse disrective I still get the same "location" set to
http://localhost/people/.... instead of
So, whatever I do, I get the same "location" header's value.

I am really puzzled by what is causing that. The behavior is not as expected
or as stated in the documentation. 

Any idea of what could be wrong?

Many thanks in advance for your help

Didier PH Martin

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message