I have the following
RewriteRule ^like/(.+)$ ask.php/$1
Which works just fine for requests like:
But for requests where one of the path parts contains an escaped slash (
%2F), the server spits out a 404 Not Found error:
Is there any way to fix this? I tried both
[NE] flags (separate and together) but nothing worked.
Edit: I also tried:
RewriteRule ^like/ ask.php # or RewriteRule ^like/(.*) ask.php
So that it doesn't necessarily have to match the slash. It's still not working.