Results 1 to 4 of 4
  1. #1

    Making index.htm an index page

    My server only recognizes index.html files as directory index's. I would like it also recognize index.htm and index.shtml files.

    How do I configure the server to recognize index.htm files as indexes?

  2. #2
    Join Date
    Jun 2000
    Southern California
    This would seem odd, but...

    In srm.conf :

    # DirectoryIndex: Name of the file or files to use as a pre-written HTML
    # directory index. Separate multiple entries with spaces.

    DirectoryIndex index.html index.htm index.shtml ... - Where professionals discuss web hosting.


  3. #3
    Join Date
    Jun 2001
    Chicago, IL
    Also if you are running a newer version of apache, they now combine the files, so if you dont have srm.conf, add it too

  4. #4
    Thanks, for the help. My server has both an srm.conf and an httpd.conf The srm.conf is an empty file and the httpd.conf is a long 43 KB file. A representative from tech support was able to get it to work by changing the line

    <IfModule mod_dir.c>
    DirectoryIndex index.html

    in httpd.conf to

    <IfModule mod_dir.c>
    DirectoryIndex index.htm index.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts