I have a rewriterule in my htaccess file that looks like this:
RewriteRule ^Signup$ /dst2/signup.php
I would like to use POST ins开发者_运维问答tead of GET for the data that gets passed by this form.
The rule above, however, sends the data as a GET.
Is there a way to use a POST with a rewriterule?
There is no way to reroute a GET action to a POST action with mod_rewrite. If you're sending a POST through a rewrite rule, it should end up being a POST when you're done. If you're sending a GET and trying to change it into a POST, change your system.
精彩评论