httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] mod_rewrite changing HTTP request method from POST to GET
Date Thu, 28 Oct 2004 21:10:01 GMT
On Wed, 27 Oct 2004 15:39:24 -0700 (PDT), arpad horvath
<infoarp@yahoo.com> wrote:
> Hi all;
> 
> I would like to do som URL rewriting with mod_rewrite,
> to manage requests for servlets. My tomcat is
> connected to the same HTTP server using mod_jk2.
> 
> My rewrite rule is in the server context, not
> per-directory:
> 
> RewriteEngine on
> RewriteRule ^/test/post(.*)$
> http://localhost/mywebapp/testservlet
> 
> I can see from the access log however that mod_rewrite
> turns this request from a POST into a GET; thus the
> servlet cannot access the POSTed data.
> 
> Is there a way to override this behaviour of
> mod_rewrite?

It is not mod_rewrite that does this, it is the browser.

Doing external redirects on POST requests is essentially impossible
given the current state of browsers.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message