Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   DirectoryIndex for .htm
Date:   2002-02-02 16:44:25
From:   twhid
note: i posted this in regards to part 1, but it made more sense here as you cover this topic in this article.


first, just want to say these articles are great and it's really helped me to understand the awesome power under mac's new luscious interface. great job.


my question with some strange observations.


i set a local staging site for my website using your articles and apache on osX. but my hosting service long ago insisted i name my index file as index.htm (they no longer do, but there are hard links that break if i change it to .html).


just to make sure all files are named locally as on my host server, i wanted to change the default DirectoryIndex to index.htm or simply 'index' using this wild card idea on got from apache's online docs.


but it doesn't work. i still get the nasty default directory listing when using http://127.0.01. BUT, when i used http://localhost, it worked, but in an incredibly weird way. there's a fairly fat flash file (40k) on that page and it loaded as if it was coming from a remote server over my dialup!


i was online via dialup at the time, haven't tried it while offline.


any ideas?