Hi there: I have a virtual host which acts as a reverse proxy to an application running on a different server. The reverse proxy must preserve the protocol used by the incoming request (HTTP or HTTPS) when making the proxied request. This was accomplished easily in httpd 2.2.21 with the following statements: ProxyPassInterpolateEnv On RewriteEngine On RewriteCond %{HTTPS} =off RewriteRule . - [E=protocol:http] RewriteCond %{HTTPS} =on RewriteRule . - [E=protocol:https] ProxyPass /my_app/ ${protocol}://1.2.3.4/my_app/ interpolate ProxyPassReverse /my_app/ ${protocol}://1.2.3.4/my_app/ interpolate When I upgraded to httpd 2.2.25, the server now chokes on parsing the URLs of the ProxyPass and ProxyPassReverse statements above. Removing the ${protocol} from those URLs allows the server to start. Is there another or better way to accomplish this setup? Perhaps this is a regression in mod_proxy? My setup is: Windows 7 x64 Apache httpd 2.2.25 win32 x86 Any help or recommendations you can provide is appreciated. Thanks, Jason |
begin:vcard fn:Jason Guild n:Guild;Jason org:Alaska Dept. Of Fish And Game, Sportfish Division;Research and Tech Services adr;dom:;;333 Raspberry Rd.;Anchorage;AK;99518-1599 email;internet:jason.guild@xxxxxxxxxx title:Analyst/Programmer IV tel;work:907-267-2120 version:2.1 end:vcard
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx