Sorry to have left that important information out. Here it is. error_log: ------------- [Mon Jun 27 07:51:36 2011] [error] [client 172.16.26.111] (13)Permission denied: access to /index.php denied access_log: ---------------- 172.16.26.111 - - [27/Jun/2011:07:51:36 -0400] "GET / HTTP/1.1" 200 72 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Red Hat/3.6.18-1.el6_1 Firefox/3.6.18" On Mon, Jun 27, 2011 at 8:04 AM, Frank Gingras <francois.gingras@xxxxxxxxx> wrote: > > > On 06/27/2011 07:57 AM, George Morton wrote: >> >> Symptoms: >> --------- >> When attempting to access index.php in my DocumentRoot, (via http from >> any of several browsers), I receive a 403 Forbidden error. When I copy >> the file to test.php and access that, it is served as expected. Also, >> if I access index.html it is served as expected. >> >> My server environment: >> ---------------------- >> Scientific Linux 6.0 (x86_64) >> Apache/2.2.15 (Scientific Linux) >> >> My httpd.conf (relevant portions, I think): >> -------------------------------------------- >> Include conf.d/*.conf >> User apache >> Group apache >> ServerAdmin root@localhost >> DocumentRoot "/var/www/html" >> <Directory "/var/www/html"> >> Options MultiViews All >> AllowOverride None >> Order allow,deny >> Allow from all >> </Directory> >> DirectoryIndex index.html index.html.var >> DefaultType text/plain >> ---------------------------------------------- >> >> The included .conf files are: >> mod_dnssd.conf: >> --------------- >> LoadModule dnssd_module modules/mod_dnssd.so >> >> DNSSDEnable on >> ----------------- >> >> and php.conf: >> ------------- >> <IfModule prefork.c> >> LoadModule php5_module modules/libphp5.so >> </IfModule> >> <IfModule worker.c> >> LoadModule php5_module modules/libphp5-zts.so >> </IfModule> >> AddHandler php5-script .php >> AddType text/html .php >> DirectoryIndex index.php >> -------------------------------------------------- >> >> I do not have .htaccess file. >> --------------------------------------------------- >> >> My file permissions seem to be appropriate (/var/www/html directory >> listing): >> ------------------------------------------- >> drwxr-xr-x. 3 root root 4096 Jun 25 22:21 . >> drwxr-xr-x. 6 root root 4096 Jun 25 00:40 .. >> -rw-r--r--. 1 root root 72 Jun 25 16:44 index.html >> -rw-r--r--. 1 root root 20 Jun 25 21:24 index.php >> drwxr-xr-x. 2 root root 4096 Jun 25 22:22 testdir >> -rw-r--r--. 1 root root 20 Jun 25 20:30 test.php >> -------------------------------------------------- >> >> What, if anything should I change about my >> environment/configuration/file permissions to enable the serving of >> index.php? >> >> Regards, >> >> George >> >> >> --------------------------------------------------------------------- >> 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 >> > > George, > > You surely spent an awful lot of time providing information that won't help > us. What, exactly, does the error log say? > > Frank > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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