Jump to content

Archived

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

mad_hacker

Unable to access php files (403 forbidden error)

Recommended Posts

I have an existing site that uses only html files right now. I am in the process of adding a mysql database driven section to the site. All of the database connectivity is done through php and all of the php files are in their own folder. I get a 403 forbidden access error every time I try to access a php file (even a simple phpinfo() file). All files are on one server, with the database server being separate. Everything works on localhost, but I can not get it to work on the remote site (no version conflicts). Please help me out!

Share this post


Link to post
Share on other sites

make sure the web server allows access from the outside. if you are using apache this can be found in the allow from and deny from with the directory directive.

Share this post


Link to post
Share on other sites

×

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.