Here’s my code:
RewriteEngine on
RewriteRule page/(.*) index.php?url=$1 [NC]
When I access page/http://google.com/ = works just fine
When I access page/http%3A%2F%2Fgoogle.com%2F = server reports 404
Martti Laine
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apache returns a (somewhat non-intuitive) 404 in cases when you have encoded slashes in the request, but do not have
AllowEncodedSlashesset to on. To confirm this is the case, check your error log, which likely contains an entry like this: