You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by t-systems-fitz <t-...@web.de> on 2003/08/20 13:00:40 UTC

Probleme mit mod_proxy unter Apache 2.0.47

Hallo,

nach dem Upgrade meines Reverse Proxies von apache 1.3.27 zu apache 2.0.47
habe ich Probleme mit Reverse-Proxy Verbindungen und redirects. Sobald der
Server mit Hilfe des Location-Feldes im HTTP-Header ein redirect sendet,
wird dieser nicht neugeschrieben. Unter 1.3.27 hat dies funktioniert. Ich
verwende die gleiche Konfiguration des Virtual Hosts:

<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 richtigername.xxx.com
    ServerAdmin postmaster@xxx.com
    ProxyPass / http://XXXXXX:8000/
    ProxyPassReverse / http://XXXXXX:8000/

  </VirtualHost>

Sendet der Server "Location: http://XXXXXX:8000/bla" wurde dies unter 1.3.27
zu Location: https://richtigername.xxx.com/bla umgeschrieben. Unter apache 2
bleibt das Location-Field unverändert.

Übersetzt habe ich apache2 mit folgenden Optionen:


./configure --enable-proxy --enable-ext-filter --enable-headers --enable-ssl
 --prefix=/usr/local/apache2

Ich hoffe jemand kann mir helfen, da ich nicht mehr 1.3.27 einsetzen kann.

mfg fitz




--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de" 
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------