Apache Web-Serving with Mac OS X: Part 2
Subject:   something's missing
Date:   2001-12-16 22:56:43
From:   ngb
When I renamed index.html to index.shtml, the server no longer recognized it as the default page to load. Instead, I had to explicitly request index.shtml. Is there something missing in the instructions?


Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Morbus Iff photo something's missing
    2001-12-17 05:32:38  Morbus Iff | O'Reilly Author [View]

    Quite true. To modify and add to Apache's default page list, open your configuration file, and look for "DirectoryIndex". By default, it will just include "index.html". To support both, change it to:

    DirectoryIndex index.html index.shtml

    These are searched for in each directory *in order*. On my own personal installation, I use SSI's exclusively, so my index.shtml goes FIRST in that list. Again, doesn't make much difference for a smaller site, but if you're getting a boatload of hits a second, it's a minor improvement.
    • something's missing
      2001-12-17 11:25:33  ngb [View]

      Thanks for the clarification. This is a great introduction. I look forward to future installments.