Portal Home > Knowledgebase > Articles Database > 403 Forbidden


403 Forbidden




Posted by muddy9494, 07-15-2008, 06:26 PM
Ok i get 403 forbidden when i try to access /uploads/ on my server. I wish to make it public. Can i make a index.html file dispay all of the files in the directory?

Posted by whmcsguru, 07-15-2008, 06:31 PM
That's one way to do it. You can also add the following lines to an .htaccess file somewhere in that directory If you create an index.html file you will need to update it when you upload new stuff. You can also create an index.php file to browse the files in the directory and automatically list them, if your server supports php, but you'll need to figure that one out yourself

Posted by simonapnic, 07-15-2008, 08:04 PM
Check the directory permissions as well (chmod). You might be facing restrictive policies on that dir. Try chmod 777 to see if you can access the directory. 777 is unsafe, just use it to test.

Posted by anoopadmin, 07-16-2008, 03:17 AM
Which control panel you are using ? Check whether you have enabled php suexec

Posted by ~ServerPoint~, 07-16-2008, 07:14 AM
I would suggest checking the webserver error log first to know the exact error. Which webserver is running in the server?

Posted by map007, 07-16-2008, 07:20 AM
403 forbidden is just permission related problem , you have not permission to access that file so you have check owner and group of that files and then change that permission like chmod 777 and then check it.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read