开发者

How do I use POST with htaccess rewriterule?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜