RE: silly question - setting .php as default extension (Apache)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> Uuuuh... Where do I set the default server extension type to .php in the
> apache config? Right now the page will execute on my server, but 
> if there is
> an index.php the server won't automatically open it, but instead 
> browses the
> directory.
> 
> Thanks in advance,
> 
> -Brian

Look for DirectoryIndex in httpd.conf and add index.php

OR

On my Apache2/Linux installation I had to uncomment a line in :
/etc/httpd/conf.d/php.conf

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux