I'm probably going to feel stupid after I hear the answer to this, but here goes. I'm trying to get httpd to host a website. I have my index.html in the /var/www/html directory, and httpd starts up fine. However, when I put "localhost" into a browser, it gives me the Apache sample website. So, I type in localhost/index.html, and I get 403 forbidden. Upon viewing the error_log for httpd, I see that index.html does not have the appropriate permissions on it.
Code:
[Mon Jul 09 19:44:52 2007] [error] [client 172.31.1.6] (13)Permission denied: access to /index.html denied
Code:
[root@localhost html]# ll
total 32
lrwxrwxrwx 1 apache users 10 2007-07-09 19:06 CCNA1 -> CCNA1v4.0/
drwxrwxrwx 8 apache users 4096 2007-07-09 19:06 CCNA1v4.0
lrwxrwxrwx 1 apache users 10 2007-07-09 19:08 CCNA2 -> CCNA2v4.0/
drwxrwxrwx 8 apache users 4096 2007-07-09 19:11 CCNA2v4.0
-rwxrwxrwx 1 apache users 191 2007-07-09 19:18 index.html
I have changed nothing in the httpd.conf. The index.html file points to other index.html files in the CCNA1v4.0 and CCNA2v4.0 directories. Don't know if that matters.