You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Bumbia, M Kamran" <Ka...@coair.com> on 2005/03/04 01:07:55 UTC

[users@httpd] mod_rewrite + post form data

Hi All

I am trying to rewrite urls using mod_rewrite based on the Contents of the
Query sting that is attached to the url.

The problem is that this will not work for post requests since the data is
not in the query string but part of the message body.

I their any way I can access the message body data in the RewriteCond
directive ?

Does any one have a solution to this problem

 

Kamran


Re: [users@httpd] mod_rewrite + post form data

Posted by Joshua Slive <js...@gmail.com>.
On Thu, 3 Mar 2005 18:07:55 -0600, Bumbia, M Kamran
<Ka...@coair.com> wrote:
> I am trying to rewrite urls using mod_rewrite based on the Contents of the
> Query sting that is attached to the url.
> 
> The problem is that this will not work for post requests since the data is
> not in the query string but part of the message body.
> 
> I their any way I can access the message body data in the RewriteCond
> directive ?

No.

The only way to do this would be an input filter in apache 2.  That
would need to be done in a custom module.

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