I suggest you read the chapter(s) on Apache. If there are no chapters on that subject, find a book that does include them. There is Zero point in learning HTML, XHTML and CSS if you don't know how servers work. Its rather like learn how to build an automobile but not knowing about highways, rules of the road and maps.
All webs servers (Apache, IIS and the rest) have directives or configuration options to tell the server what page(s) to serve, and in what order, when a Folder address (URL) is used rather than a Page URL.http://httpd.apache.org/docs/2.2/mod/mo ... ctoryindex
- Code: Select all
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
DirectoryIndex 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
Most Apache Directives are found in the Apache .conf files in \xampp\apache\conf and \xampp\apache\conf\extra. That entry is in the main file - \xampp\apache\conf\httpd.conf . Many directives can also be placed in .htaccess files, a very common practice that lets you 'fine grain' your controls.
bookmark that Apache Docs page, it will be invaluable.