mercredi 29 avril 2015

URL issue - passing encoded characters like %2f and %2b

I am passing encrypted value through the URL using .htaccess file as shown below : URL :

htaccess file : RewriteRule ^f1/(.+)$ index.php?id=$1 [NE]

The issue is the server respond by The requested URL was not found on this server. but when I replace %2f by / and %2b b s+ it works perfectly and I can see the content of the page.

it works also perfectly when I use the url without any rewriting as shown below :

Could you please help with that and how can I modify my htaccess to make this work ? because I need to get the content using url rewriting as shown above

Thank you !!

Aucun commentaire:

Enregistrer un commentaire