DocumentRoot "/root/httpd/htdocs"so I assume that attempting to browse http://66.148.71.117:8080/index.html should attempt to load the contents of /root/httpd/htdocs/index.html. (This webserver is set to listen on port 8080 so as not to conflict with the main webserver.)
However, http://66.148.71.117:8080/index.html gives "403 Forbidden" and we can't figure out why. Here's what I know:
"ps auwx | grep httpd" shows several instances of:apache 4585 1.0 1.7 30656 17932 ? S 14:59 1:11 /usr/sbin/httpd
(the main webserver that was originally on the machine) and several instances of:daemon 7199 0.0 0.1 4700 1992 ? S 16:56 0:00 /root/httpd/bin/httpd -k start
which is the test Apache. The permissions on /root/httpd/htdocs/index.html are:
[root@sls-ec5p18 bin]# ls -l /root/httpd/htdocs/index.html -rw-r--r-- 1 daemon root 53 Jul 13 11:41 /root/httpd/htdocs/index.html [root@sls-ec5p18 bin]#(that was after I changed ownership of the file to the "daemon" user to see if that would enable Apache to read it, but it didn't).
and selinux is disabled: [root@sls-ec5p18 bin]# sestatus SELinux status: disabledSince index.html is world-readable, *and* in fact owned by the user "daemon" (the same user that this custom build of Apache is running under), any idea why index.html would be bringing up '403 forbidden'?
-Bennett --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx