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 [email protected] mailing list archive at Nabble.com.


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to