Re: ReverseProxy for Tomcat (AJP) not working for SSL redirects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>:
> 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@xxxxxxxxxxxx>:
>> On Wed, 28 Apr 2010 11:22:00 +0200
>> Timo Meinen <timomeinen@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
>>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux