Thats the default behaviour in XAMPP.
If a requested ressource points to a folder and not a specific file, Apache will search for an index ressource in a configured order.
For XAMPP 1.8.1 Apache that means it is first looking for index files in that order:
- Code: Select all
index.php index.pl index.cgi index.asp index.shtml index.html index.htm default.php default.pl default.cgi default.asp default.shtml default.html default.htm home.php home.pl home.cgi home.asp home.shtml home.html home.htm
(i don't know if the list is the same for the lite version - it is defined in the DirectoryIndex setting in your xampp\apache\conf\httpd.conf)
The It works page is an index.html file but as you can see just on position 6 in that list. 5 other pages will be served first if present.
XAMPP 1.8.1 Apache will found an index.php file and will serve it first and this index.php file contains a redirect to the ressources of the orange XAMPP Administration page.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~free software according to purpose of usageXAMPP 1.8
for local development/testing onlyZend Server 6 (free)
for production environments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~It's like porn for programmers