Re: Redirect after post Issue

2008-03-24 Thread Jeremy Levy
I got it working. Basically the ProxyPassReverse directive should use HTTP not AJP. This article helped: http://lenya.apache.org/docs/2_0_x/tutorials/mod_proxy_ajp.html Jeremy On Fri, Mar 21, 2008 at 10:35 AM, James Carman [EMAIL PROTECTED] wrote: On 3/21/08, Jeremy Levy [EMAIL PROTECTED]

Re: Redirect after post Issue

2008-03-21 Thread Sebastiaan van Erk
Looking at your mod_proxy config again I noticed that you are using ProxyPreserveHost on. I think this is causing the problems, you should remove this directive. What I think is happening is this: 1) Wicket says: redirect to /web/ 2) Tocmat makes the url absolute by prepending the virtual

Re: Redirect after post Issue

2008-03-21 Thread Jeremy Levy
Sebastiaan, Thanks very much, that helps a lot. It now works. Now that it's working I want to switch it to use ajp instead of http. I understand from your explanation how ProxyPreserveHost was breaking it. However, when I switch to use ajp, I'm seeing the same behavior. I'm having trouble

Re: Redirect after post Issue

2008-03-21 Thread James Carman
On 3/21/08, Jeremy Levy [EMAIL PROTECTED] wrote: Sebastiaan, Thanks very much, that helps a lot. It now works. Now that it's working I want to switch it to use ajp instead of http. I understand from your explanation how ProxyPreserveHost was breaking it. However, when I switch to use

Redirect after post Issue

2008-03-20 Thread Jeremy Levy
I have been having trouble with this for a couple of months, it seems that redirects in Wicket 1.3.x seem to be writing out the URL incorrectly in our set up. We are running JBoss 4.2 with embedded Tomcat 5.5 using Apache/2.2.4 with mod_proxy. The Tomcat URL for the application is

Re: Redirect after post Issue

2008-03-20 Thread Jeremy Levy
Slight correction: With IRequestCycleSettings.ONE_PASS_RENDER most form submits seem to work except in the case of continueToOriginalDestination... Everything else still fails. J On Thu, Mar 20, 2008 at 6:09 PM, Jeremy Levy [EMAIL PROTECTED] wrote: I have been having trouble with this for a

Re: Redirect after post Issue

2008-03-20 Thread brian.diekelman
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypassreverse This directive lets Apache adjust the URL in the Location, Content-Location and URI headers on HTTP redirect responses ProxyPassReverse is the culprit here, not anything to do with Wicket. Jeremy Levy-3 wrote: I have

Re: Redirect after post Issue

2008-03-20 Thread brian.diekelman
...and after reading your post a little closer, I flipped the directive parameters in my head. I don't think there's anything wrong with your ProxyPass directives. Sorry about that... -- View this message in context:

Re: Redirect after post Issue

2008-03-20 Thread Jeremy Levy
No problem, I know other people are doing this, I can't seem to see where the issue is... Which is why I think something is wrong either in Tomcat or Wicket. J On Thu, Mar 20, 2008 at 8:36 PM, brian.diekelman [EMAIL PROTECTED] wrote: ...and after reading your post a little closer, I flipped