httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "t-systems-fitz" <>
Subject [users@httpd] Problems with mod_proxy and apache2
Date Wed, 20 Aug 2003 11:00:34 GMT

I recently upgraded from apache 1.3.27 to apache 2.0.47. But now my reverse
proxy does not work correctly. It seems that mod_proxy did not rewrite
Redirects. The Header Location is not rewrited. I use the same configuration
for the virtual host as in 1.3.27 and under that version the Location field
was rewritten.


    DocumentRoot "/usr/local/apache2/htdocs"
    ErrorLog /usr/local/apache2/logs/error_log
    TransferLog /usr/local/apache2/logs/transfer_log
    SSLEngine on
    SSLProxyEngine on
    SSLCertificateFile /usr/local/apache2/conf/ssl.crt/xxx.crt
    SSLCertificateKeyFile /usr/local/apache2/conf/ssl.key/xxx.key
    ServerAdmin postmaster@XXXXXX
    ProxyPass / http://XXXXXX:8000/
    ProxyPassReverse / http://XXXXXXX:8000/


If the webserver sends Location: http://XXXXXX:8000/bla then under 1.3.27
the proxy sends to the client Location:, but
under apache 2 the Location header is not rewritten.

I compiled apache2 withh following config:

./configure --enable-proxy --enable-ext-filter --enable-headers --enable-ssl

best regards fitz

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