index.php not being pulled up?

Chris Maness chris at chrismaness.com
Wed Jul 4 01:59:07 UTC 2007


I have these directives in my httpd.conf file, but index.php is not 
being pulled up like index.html.  This worked before I upgraded apache 
and php5.  Any suggestions?

<IfModule mod_dir.c>
    <IfModule mod_php3.c>
        <IfModule mod_php4.c>
            DirectoryIndex index.php index.php3 index.html
        </IfModule>
        <IfModule !mod_php4.c>
            DirectoryIndex index.php3 index.html
        </IfModule>
    </IfModule>
    <IfModule !mod_php3.c>
        <IfModule mod_php4.c>
            DirectoryIndex index.php index.html
        </IfModule>
        <IfModule !mod_php4.c>
            DirectoryIndex index.html
        </IfModule>
    </IfModule>
    <IfModule !mod_php5.c>
        <IfModule mod_php5.c>
            DirectoryIndex index.php index.html
        </IfModule>
        <IfModule !mod_php5.c>
            DirectoryIndex index.html
        </IfModule>
    </IfModule>
</IfModule>

-- 
Chris Maness
(909) 223-9179
http://www.chrismaness.com



More information about the freebsd-questions mailing list