: Htaccess redirect problem when URL contains forward slash I'm making a POST to a URL like: http://example.com/html/system/api/email/registration My .htaccess looks like this: Options +FollowSymLinks
I'm making a POST to a URL like:
example.com/html/system/api/email/registration
My .htaccess looks like this:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_METHOD} (PUT|DELETE|POST|GET)
RewriteRule email/(.*)$ restful.php?resource=email&subject= [L]
But it doesn't match. I have to make the rule like this to match:
RewriteRule email**.***/(.*)$ restful.php?resource=email&subject= [L]
This makes it extremely cumbersome to match more complex substrings. What could be the reason?
More posts by @Merenda212
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.