faqts : Computers : Internet : Web Servers : Apache

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

29 of 81 people (36%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

I got message "You don't have permission to access / on this server." or anyelse dir.

Sep 14th, 2001 23:23
Tom Davis, nirina michel, Tom Davis


I would almost bet that the error is related to permissions.  Try 
this.  Navigate to your web hosting partition. Use the chmod command to 
set the appropriate permissions for the folder that holds all your web 
pages, images, etc.  

Here is the command: chmod -R 755 Folder_Name


If that didn't work, make sure you have your httpd.conf file configured 
properly.  I would look in the section where you give all your 
directories permissions, like NOEXEC, INCLUDES...

Also, if you are setting this up as a Virtual site, make sure your 
virtual host container is set properly.

And last but not least(probably isn't the problem), if you are running 
IPCHAINS or IPTABLES, make sure your script allows for any source 
address to hit port 80 at your WWW server address (I.P.)

Hope this helps,
Tom