index.php not automatically displaying

Chris Maness chris at chrismaness.com
Sat Jan 12 18:32:08 PST 2008


Daniel Rucci wrote:
> -----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-----
>
I added this to my httpd.conf, but it still does not automatically 
parse.  I have to click on index.php

Thanks

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



More information about the freebsd-questions mailing list