httpd-users mailing list archives

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

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.

 <VirtualHost 192.168.1.4:443>

    DocumentRoot "/usr/local/apache2/htdocs"
    ErrorLog /usr/local/apache2/logs/error_log
    TransferLog /usr/local/apache2/logs/transfer_log
    SSLEngine on
    SSLProxyEngine on
    SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCertificateFile /usr/local/apache2/conf/ssl.crt/xxx.crt
    SSLCertificateKeyFile /usr/local/apache2/conf/ssl.key/xxx.key
    ServerName realname.xxx.com
    ServerAdmin postmaster@XXXXXX
    ProxyPass / http://XXXXXX:8000/
    ProxyPassReverse / http://XXXXXXX:8000/

  </VirtualHost>

If the webserver sends Location: http://XXXXXX:8000/bla then under 1.3.27
the proxy sends to the client Location: https://realname.xxx.com/bla, 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
 --prefix=/usr/local/apache2

best regards fitz



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message