Hi all - I have a PHP app that calls another page and passes a user entered URL (from a form) as a GET.
An example of the query string is :
One one of my servers (using Apache/Cpanel) it works just fine!
If I install the same software on another of my servers (Apache/Cpanel again) from a different hosting company it doesn't work!
It comes up with the following error :
If I take the % coded chars out of the url so it looks like this :Code:Forbidden You don't have permission to access /admin/main.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache mod_qos/9.69 mod_fcgid/2.3.6 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/18.104.22.16835 Server at mydomainname.com Port 80
Then it will work just fine. It is obviously a config thing on the server as it works perfectly on my server from my other host. Thing is, this script is going to be distributed to people with a wide collection of servers so I really need to solve it programmatically rather than by altering server settings.
Does anyone have any ideas please?