fullserve

Member
Jul 11, 2003
7
0
151
I recently made some changes to the PHP, but then went back to PHP 5.0.4. However, I just noticed that all .shtml pages on the server do not load.

In the error log I see:

[Tue Jun 13 09:42:47 2006] [error] Directory index forbidden by rule: /home/www/site/public_html/

I thought it is a httpd.conf issue, so I looked at it, and as far as I see everything looks ok:

HTML:
AddType application/x-httpd-php .php

AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .phtml
AddHandler cgi-script .cgi .pl
AddType text/html .shtml
AddType application/x-tar .tgz
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlc .wmlc
AddType application/vnd.wap.wmlscriptc .wmlsc


    #
    # To use server-parsed HTML files
    #
    #AddType text/html .shtml
AddHandler server-parsed .shtml
Any idea what the problem is and how I can fix it?

Thanks in advance!
 

fullserve

Member
Jul 11, 2003
7
0
151
Yes, it is:

HTML:
<IfModule mod_dir.c>
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
</IfModule>
 

fullserve

Member
Jul 11, 2003
7
0
151
I tried that -- didn't work.

I have that problem with ALL the sites on the server, not just one. I am totally confused...
 

fullserve

Member
Jul 11, 2003
7
0
151
Since I have this problem after the last Apache update, I guess there is a conflict somewhere. Please take a look at the modules I have installed.

Do you see any potential problems?