I would like to use mod_rewrite to read parameters sent in POST requests. I need to check the value and process the request.
Mod_rewrite will not work on POST variables.
You would need to use mod_security to examine, and possibly run a url-rewriting script, on any POST variables.
I don't believe that it's possible.
mod_rewrite can only work on the contents of the initial request line, headers and environment variables. Whereas the parameters of a POST request are found within the request body.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
5 years ago