Re: [us...@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects

2010-04-29 Thread Timo Meinen
Yes, you're right. But why did the ProxyPassReverse / https://it.localhost.de/spike let to a circularity? 2010/4/29 Nick Kew : > > On 29 Apr 2010, at 13:26, Timo Meinen wrote: > >> Anyhow, why does mod_proxy don't recognize the Location header. I >> think it should treat ('convert') this heade

Re: [us...@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects

2010-04-29 Thread Nick Kew
On 29 Apr 2010, at 13:26, Timo Meinen wrote: > 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? IIRC your ProxyPassReverse didn't match the Location (one being ajp:, the other http or https). -- Nic

Re: [us...@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects

2010-04-29 Thread Timo Meinen
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_p

Re: [us...@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects

2010-04-29 Thread Timo Meinen
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 unencrypt

Re: [us...@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects

2010-04-28 Thread Nick Kew
On Wed, 28 Apr 2010 11:22:00 +0200 Timo Meinen 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 Virtual

Re: [us...@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects

2010-04-28 Thread Timo Meinen
Hi, yes SSLProxyEngine On is activated in the SSL VirtualHost. But this doens't help. Timo 2010/4/28 Arunkumar Janarthanan : > Hi, > > Did you try the "sslProxyEngine On", However I have got the specific error > in my Apache log stating have to check this one. > > Hope this helps. > > Best Regar

Re: [us...@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects

2010-04-28 Thread Arunkumar Janarthanan
Hi, Did you try the "sslProxyEngine On", However I have got the specific error in my Apache log stating have to check this one. Hope this helps. Best Regards, Arun Janarthanan On Wed, Apr 28, 2010 at 5:44 AM, Mauri wrote: > Hi Timo. > > i don't know ajp protocol, but I have a similar configur

Re: [us...@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects

2010-04-28 Thread Mauri
Hi Timo. i don't know ajp protocol, but I have a similar configuration. this is my configuration that work fine with apache, mod_proxy as frontend and a tomcat 6 with SSL (8443) as backend. u don't set the end point (spike/ ) but only the ProxyPass. I'm using another

[us...@httpd] ReverseProxy for Tomcat (AJP) not working for SSL redirects

2010-04-28 Thread Timo Meinen
Hi, I have a problem with our reverse proxy. I asked this question to the tomcat-users mailinglist, too, but no one could help me and I am absolutely stuck with this problem. So, I hope some of the httpd experts here, may have an idea: Our configuration is a Apache 2.2 web server, acting as a rev