The solution is quite simple. Edit /usr/local/etc/apache/httpd.conf and look for
the following line:
DirectoryIndex index.html
This line indicates that if a URL does not contain an explicit filename, then the files
specified on this line will be used by default. So if you are using index.htm, or
default.htm as your default page, add them to this line. For example:
DirectoryIndex index.html index.htm default.htm
Then you should restart apache:
/usr/local/sbin/apachectl restart
And you should also check the logs for any errors:
# tail /var/log/httpd-error.log
[Thu Dec 23 21:56:12 1999] [notice] SIGHUP received. Attempting to
restart
[Thu Dec 23 21:56:16 1999] [notice] Apache/1.3.9 (Unix)
FrontPage/4.0.4.3
mod_ssl/2.4.8 OpenSSL/0.9.4 configured -- resuming normal
operations
|