Hello,
I think, I've found a bug....
I run a 2.4.6 Apache as reverse proxy in front of serveral backend servers.
Therefor I use Rewrite with P flag and ProxyPassReverse.
My config looks like this:
RewriteRule ^/cms/(([a-z]{2})(-[a-z]{2})?)_([a-z]{2,})/(.*)$
http://twww2_I.example.com:8080/cps/rde/xchg/${lc:$4}/hs.xsl/$5?rdeLocale=$2&wsLocale=$1&wsCountry=$4
[P,NC,QSA,L]
<Location /cms/>
ProxyPassReverse /cps/rde/xchg/de/hs.xsl/
ProxyPassReverse /cps/rde/xchg/at/hs.xsl/
ProxyPassReverse /cps/rde/xchg/de-de/hs.xsl/
ProxyPassReverse /cps/rde/xchg/ch-fr/hs.xsl/
ProxyPassReverse /cps/rde/xchg/gb/hs.xsl/
ProxyPassReverse /cps/rde/xchg/us/hs.xsl/
ProxyPassReverse /cps/rde/xchg/en-us_us/hs.xsl/
ProxyPassReverse /cps/rde/xchg/en-gb_gb/hs.xsl/
ProxyPassReverse /cps/rde/xchg/es/hs.xsl/
ProxyPassReverse /cps/rde/xchg/fi/hs.xsl/
ProxyPassReverse /cps/rde/xchg/fi_fi/hs.xsl/
</Location>
Now I request a URL (http://www.example.com/cms/de_de/basket.htm) which send a
redirect 302 to https. The RP changes the location to http and I have a loop.
I sniffered between client and RP and backend. It is really the RP.
In other scenarios where I have
<Location /app/>
ProxyPassReverse /
</Locationn>
it works as it should.
With Apache 2.2 I don' t have this issue.
Best Regards,
Sven
Festo AG & Co. KG
Sven Womann
Abteilung IM-WMS
Inf. Mgmt. Web and Security
Plieninger Stra?e 50
73760 Ostfildern-Scharnhausen
Deutschland
Telefon +49(711)347-2898
Telefax +49(711)34754-2898
http://www.festo.com
Der Inhalt dieser E-Mail und moeglicher Anhaenge sind ausschliesslich fuer den
bezeichneten Adressaten bestimmt.
Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder
Weitergabe des Inhalts dieser E-Mail und
moeglicher Anhaenge durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie,
sich mit dem Absender der E-Mail in
Verbindung zu setzen, falls Sie nicht der Adressat dieser E-Mail sind sowie das
Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the
addressee. The perusal, publication, copying
or dissemination of the contents of this e-mail by unauthorised third parties
is prohibited. If you are not the intended
recipient of this e-mail, please delete it and immediately notify the sender.
Rechtsform: Kommanditgesellschaft, Sitz: Esslingen a.N., Registergericht
Stuttgart HRA 211583, Umsatzsteuerident-Nummer: DE 145339206
Pers?nlich haftende Gesellschafterin: Festo Management Aktiengesellschaft,
Sitz: Wien/?sterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch Nr.
FN 303027 d
Vorstand: Dipl.-Kfm. Alfred Goll, Dr. Claus Jessen, Dr. Ansgar Kriwet,
Dipl.-Kfm. Michael M?lleken, Dr. Eberhard Veit (Vorsitzender)
Aufsichtsratsvorsitzender: Prof. Dr.-Ing. Dr.-Ing. E.h. Klaus Wucherer