httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jurgen <apa...@squarehosting.com>
Subject Re: [users@httpd] DirectoryIndex for all directories
Date Mon, 03 Feb 2003 08:47:23 GMT
Hi,

I would use mod_rewrite, but if you just want to hide the file listings in the directories
you could use
 Options -Indexes
in the appropriate place.

Jurgen


On Mon, 3 Feb 2003 09:11:11 +0100
"Andrea" <software@polin.it> wrote:

> Hi,
> a friend of mine asked me:
> " How can I use the same index.htm file as "index" for all subdirectories
> instead of creating an index.html for each subdirectories? "
> 
> I answered to use
> DirectoryIndex /index.htm
> 
> on my pc it worked but on his server it doesn't work.
> If he specified DirecotryIndex index.htm it works but doing that he has to
> create an index.htm for each sub-directory.
> 
> Hope I explained it well.
> 
> Could you help me ?
> 
> Thanks,
> :-) Andrea, Italy
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message