ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X: Part 2
Subject:   Getting .shtml to work right!
Date:   2006-06-22 05:24:21
From:   carlco2
Response to: Still not getting .shtml to work right.

sudo pico /etc/httpd/httpd.conf
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
DirectoryIndex index.html index.shtml default.html default.shtml index.php index.cgi
</IfModule>
that should get about any default page working.