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 <[email protected]>:
> 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 <[email protected]>:
>> On Wed, 28 Apr 2010 11:22:00 +0200
>> Timo Meinen <[email protected]> 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: [email protected]
>> " from the digest: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
---------------------------------------------------------------------
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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]