httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: mod_rewrite - changing a Post to a Get?
Date Tue, 07 May 2002 22:59:14 GMT
Jon Ferguson wrote:
> Hi,
> I'm trying to use Apache 1.3 with Jakarta Tomcat 4.0 and need to rewrite
> a URL from a cgi script to an Action target within the Struts framework.
> Here's my rule:
> RewriteRule ^/posicart\.cgi$ /BCDweb/ [R]
> If I submit a form to the posicart.cgi URL using POST it Does get
> rewritten and passed on.. but as a GET!  Thus all my parameters are
> lost. 


You can't really redirect POST requests reliably.  Instead, why don't 
you do an internal redirect (remove the [R]), and then apache will 
handle everything.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message