www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terry Manderson <te...@northgate.net>
Subject mod_rewrite/5299: Mod-rewrite of cgi changes REQUEST_METHOD
Date Sat, 13 Nov 1999 02:45:51 GMT

>Number:         5299
>Category:       mod_rewrite
>Synopsis:       Mod-rewrite of cgi changes REQUEST_METHOD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Nov 12 18:50:00 PST 1999
>Originator:     terry@northgate.net
>Release:        1.3.9
Solaris 7, GCC 
I have a rewrite rule of 
RewriteRule     ^/scripts/(.*)  http://www2.northgate.net/cgi-bin/$1.exe [T=application/x-httpd-cgi,L]

the rewrite causes a normal POST turn into a GET, hence the cgi 
info is lost.

The same thing appears to happen for a simple version of the above
using Redirect.
see problem report 4247, I beleive this to be the same problem..
set up two web servers, one has the POST form on it the other
has the cgi programs. redirect the local cgi directory using
mod_rewrite to the second web server (the one with the cgi scripts)	
look for the request_method prior to the rewrit rule being applied
and try not to munge it.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message