DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19164>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19164

Internal redirect changes GET request method to POST

           Summary: Internal redirect changes GET request method to POST
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_rewrite
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When using a simple RewriteRule such as 

RewriteRule *. /cgi-bin/prog.pl

Then internally redirection change a POST request method to GET and any form 
parameters are not returned.  I understand an external redirect will do this 
however an internal redirect i think should retain the original POST method. 

Also noticed the same issue with DirectoryIndex.  For example

<Directory /mydir>
 DirectoryIndex /cgi-bin/prog.pl 
</Directory>

Will do an internal redirect and POST -> GET 

I did try 

RewriteRule *. /cgi-bin/prog.pl [E=REQUEST_METHOD:POST] and got an extra ENV 
variable REDIRECT_REQUEST_METHOD = POST but POST parameters are still lost.

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

Reply via email to