Page 1 of 1

Changing the default web page for a directory

PostPosted: 03. January 2010 00:10
by williamsmx
Hi,

I have created a directory under htdocs called Martin and created a php file called Martin.php.

Is there any way of configuring it so that if a user goes to http:\\localhost\martin that martin.php is opened rather than index.php or index.html?

Thanks,

Martin

Re: Changing the default web page for a directory

PostPosted: 03. January 2010 00:13
by Wiedmann
Is there any way of configuring it so that if a user goes to http:\\localhost\martin that martin.php is opened

http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex