The magic ingredient here is to set redirect="true" in the
struts-config.xml for the individual form mappings. -Dirck

-----Original Message-----
From: Chris Reeves [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 23, 2003 9:36 PM
To: Struts User Mailing List
Subject: apache proxy/form action rewrite issue

I have a web app using struts that runs under tomcat, behind an apache
server using mod proxy.

My web app works exactly as expected when run directly against tomcat,
but
fails when I attempt to use actions behind apache.

For instance, my app (let's call it "thing1") has a form at
/contact/index.jsp.

The action in the form, after being rewritten by struts, becomes
"/thing1/contact/contact.do".

Is there any way to get around this? I don't want to throw more rules at
the
apache server, and I see no way (short of rewriting the from action with
javascript on the client) to get rid of the rewriting (at least, I've
found
no way thus far).

Any ideas? I've been banging my head on this one for a while now... I
have
some apps in struts 1.0 that just don't seem to suffer from this issue.

Thanks!

Chris




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to