index.php not automatically displaying

Daniel Rucci dan at rucci.org
Sat Jan 12 16:34:37 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Maness wrote:
| I have two web servers -- one old, and another I have just set up.  I 
have tried to set up the new http.conf the same for php files, but the 
new one does not automatically parse index.php like index.html.  This 
works on the old server, but not the new.
I have
AddType application/x-httpd-php .php

and

<IfModule dir_module>
~    DirectoryIndex index.html index.php
</IfModule>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHiVya35WRARjlw0YRAm2HAJ44kEEO3oSg31AP6iLZY57UHJYJXwCdE1nN
kSohV1xCrGQdW/yJALS+7TI=
=pEo7
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list