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

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

 



On Tuesday 09 November 2004 16:04, Brian A. Anderson wrote:
> 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

Your probably looking for the DirectoryIndex directive.

Apache 1.3.x
http://httpd.apache.org/docs/mod/mod_dir.html#directoryindex

Apache 2.0.x
http://httpd.apache.org/docs-2.0/mod/mod_dir.html#directoryindex

-- 
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