Learn something new (technically) everyday

Puzzled on why Apache server (XAMPPS implementation on a USB) ) displays index.php instead of index.html?  the answer, which is mildly interesting to students, can be found in the Apache configuration file used on our USBs
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    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
</IfModule>
apache
Advertisements
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

One Response to Learn something new (technically) everyday

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s