re[cgiapp] quest_method always returns GET. mor_rewrite
problem. SOLVED
kropotkin
enquiries at mms-oxford.com
Mon Feb 2 11:48:12 EST 2009
Hi
Solved. Please see note:
kropotkin wrote:
>
> Hi
>
> Thanks. When I call it with post it seems I must have my run mode
> parameter as a posted field. It can't mix and match GET and POST
> parameters? Thanks.
>
>
>
> I have a run mode. I call it with a GET. It returns its output which is
> html from a template. The template contains a form with the method
> attribute set to POST like so: <form action="/cart/register/"
> method="post" name="main">.
>
> But the ENV(REQUEST_METHOD) is set to GET when the form is POSTED. I think
> this must be because I have a mod_rewrite rule which maps /cart/register
> to /cart.cgi?rm=register. Does mod_rewite convert a POST to a GET request?
> How could I avoid this?
>
> Thanks
>
> Justin
>
--
View this message in context: http://www.nabble.com/request_method-always-returns-GET.-mor_rewrite-problem.-SOLVED-tp21792629p21793204.html
Sent from the cgiapp at lists.openlib.org mailing list archive at Nabble.com.
More information about the cgiapp
mailing list