Apache Mod_Rewrite - Redirect losing POST data - 405 error
Stackoverflow users, I have an Apache application that needs to accept data POSTed to the following paths: /sample/HostChange/Submit /sample/HostChange/SubmittoAPI I'm currently using the following 301 redirect rules. This is not what I want as as the POST gets redirected and the second request is a GET loosing all the data. I am seeing the 301 request go the correct url but the second request is a GET and causes a 405 response code. .htaccess: RewriteEngine On Redirect 301 /sample/HostChange/Submit /event Redirect 301 /sample/HostChange/SubmittoAPI /date I'm sure using a Redirect is the issue
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.