Jump to content

Apache or htaccess url decode?


Jabop

Recommended Posts

Here is my problem:

 

I am passing the url below through a script for processing.

 

http://localhost/test.php%3Fid%3Dfileidgoeshere

 

When I go to the url with the urlencoding enabled, I get this error:

 

Forbidden

You don't have permission to access /test.php?id=fileidgoeshere on this server.

 

However, when I go directly to http://localhost/test.php?id=fileidgoeshere, I get the result that I want. Thing is, I need to have the original link to this script encoded, but my server is denying its view like that.

 

How would I enable the server to decode those encoded urls into their actual url?

I have been searching all night for the resolution to this problem, but with no luck. Any help would be greatly appreciated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.