Apache Web-Serving with Mac OS X: Part 1
Subject:   DirectoryIndex? how to change it
Date:   2002-02-02 16:17:41
From:   twhid
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?

1 to 1 of 1
1 to 1 of 1