Changing the default web page for a directory

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Changing the default web page for a directory

Postby williamsmx » 03. January 2010 00:10

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
williamsmx
 
Posts: 1
Joined: 03. January 2010 00:06

Re: Changing the default web page for a directory

Postby Wiedmann » 03. January 2010 00:13

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
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 87 guests