[Linux-disciples] Directory index propagates downward
Stephen R Laniel
linux-disciples@bostoncoop.net
Thu, 23 Oct 2003 21:52:31 -0400
I wanted to make http://laniels.org/ bring people directly to my weblog
(the erstwhile http://laniels.org/blosxom , which in turn was the
erstwhile http://laniels.org/cgi-bin/blosxom). Upon Friend Brian's
suggestion, I added the line
DirectoryIndex /cgi-bin/blosxom
to the VirtualHost block for laniels.org. That worked, but the problem
was that it now used my weblog as the DirectoryIndex for every
subdirectory of laniels.org -- including, e.g., my MP3s directory. Which
is to say, it's now impossible to get a list of MP3s out of that
directory.
So I thought, "Maybe I need to specify a particular directory to which
this applies." Hence I expanded the DirectoryIndex line to
<Directory />
DirectoryIndex /cgi-bin/blosxom
</Directory>
No dice: the same problem still happens. The funny thing about the MP3s
directory is that it's password-protected, and Apache still asks for a
password when you try to go there -- but Apache still brings you to my
weblog, rather than to the MP3s directory.
There must be some simple thing that I'm doing wrong. Any guesses?
--
``Tragedy is when I cut my finger. Comedy is when you walk into an
open sewer and die.''
-Mel Brooks