httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Meinen <timomei...@googlemail.com>
Subject Re: [users@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects
Date Thu, 29 Apr 2010 12:26:26 GMT
Hi Nick,

thank you so much! This brought me to the solution to my problem. And
mod_headers was the last piece of the puzzle.

To rewrite the Location header to another context-path all I had to do
was this directive:

Header edit Location ^([^/]*//[^/]*)?/spike/(.*)$ $1/$2


Anyhow, why does mod_proxy don't recognize the Location header. I
think it should treat ('convert') this header like any other. Is it a
bug?

Best regards,
Timo


2010/4/29 Timo Meinen <timomeinen@googlemail.com>:
> Hi Nick,
>
> thank you for your mail. Both VHosts have the same proxy config,
> except for the 'SSLProxyEngine ON' directive. I will try the
> mod_headers fix.
>
> Btw: Is the SSLProxyEngine directive neccassary, when routing all the
> traffic via AJP? Is it correct, that the AJP connection is always
> unencrypted here?
>
> Thanks
> Timo
>
> 2010/4/29 Nick Kew <nick@webthing.com>:
>> On Wed, 28 Apr 2010 11:22:00 +0200
>> Timo Meinen <timomeinen@googlemail.com> wrote:
>>
>>> ServerName it.localhost.de
>>> ProxyPass               /       ajp://127.0.0.1:8009/spike/
>>> ProxyPassReverse        /       ajp://127.0.0.1:8009/spike/
>>> ProxyPassReverseCookiePath      /spike  /
>>>
>>> (This is the configuration in the VirtualHost entry for port 80. There
>>> is a second VHost for SSL with SSLProxyEngine On and SSLEngine On).
>>
>> Do both virtualhosts have the same proxy config?
>>
>> You may be experiencing a variant on the problem described in
>> http://svn.haxx.se/users/archive-2006-03/0549.shtml
>> If so, the fix is "Header edit" from mod_headers.
>>
>> --
>> Nick Kew
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>

---------------------------------------------------------------------
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