Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jul 2007 18:45:01 -0700
From:      Chris Maness <chris@chrismaness.com>
To:        freebsd-questions@freebsd.org
Subject:   index.php not being pulled up?
Message-ID:  <468AFB9D.8090302@chrismaness.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468AFB9D.8090302>