httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] Turning off auto directory indexing *except* per directory specified?
Date Mon, 02 Jun 2003 11:37:20 GMT
On Sun, 1 Jun 2003, Victor B. Gonzalez wrote:

> Hello Apache,
>
>   I've searched through the documentation on Apache for how to turn
>   off auto directory indexing but I am coming up empty. I would like
>   for the contents of any and all directories to never be listed.

Options -Indexes

Or remove "Indexes" from existing "Options" directives.

>   I would like for the contents of certain directories to be listed
>   but on a global scale I would like all directories *not listed*. Is
>   this possible?

Globally, have "Options -Indexes" and then, for a particular directory:

<Directory /what/ever>
Options +Indexes
</Directory>

>   I searched the documentation and feel I came close to it but the
>   definitions to mod_dir and mod_autoindex do not explain how to do
>   it... Maybe its a little more complex than I assume or maybe I am
>   looking at the wrong docs...
>
>   I would surely appreciate any help on how to turn off auto indexing
>   globally yet enable it locally for certain dirs. I love links :)

http://httpd.apache.org/docs/misc/FAQ.html#indexes

-- 
Who can say where the road goes
Where the day flows
Only time
 --Pilgrim (Enya - A Day Without Rain)

---------------------------------------------------------------------
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