I've just set up a small web site served by Apache 1.3.29 and I have a
little concern about it : I have one directory called "shared" where I
put JavaScripts, pictures (basically non HTML stuff). There is no index
file in this directory.
As a consequence, if you go to
http://site/shared/ Apache returns a list
of all existing files in this directory.
I was wondering if this was considered bad practice and if so, why ? Is
there a way to avoid this (I thought of putting a fake empty index file,
but maybe there is something better : I searched for something like
DirectoryIndex none, but this doesn't exist...)
--
Vincent