LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   403 forbidden message (https://www.linuxquestions.org/questions/linux-server-73/403-forbidden-message-542384/)

skullhunterph 04-01-2007 11:03 AM

403 forbidden message
 
when im trying to type my ip on the mozilla i got a forbidden message

i have activated the httpd in services and created an index file under /var/www/html

What do you think I should do?

acid_kewpie 04-01-2007 01:36 PM

check the permissions on the index.html file? needs to be readable by the httpd process owner.

skullhunterph 04-01-2007 09:06 PM

thanks but, how do i check the permissions of my index file.

sorry im just new to linux

magin 04-02-2007 07:52 AM

Quote:

Originally Posted by skullhunterph
thanks but, how do i check the permissions of my index file.

sorry im just new to linux


just move to /var/www/html. (Assumming its redhat or fedora.)

#cd /var/www/html


Then issue "ls -l" for the long listing

#ls -l index.html
-rwxr-xr-x 1 root root 2344 Mar 16 14:55 index.html

This shows root is both the file owner and group of the file index.html:)


All times are GMT -5. The time now is 02:44 AM.