httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jez Hancock <>
Subject Re: [users@httpd] Setting Directory Indexes
Date Thu, 19 Feb 2004 00:06:04 GMT
On Thu, Feb 19, 2004 at 09:25:11AM +1000, Alex I wrote:
> Ok, Lets say that the directory that i want to be indexed is /alex
> So I want to be able to access http://host/alex and then it should come up
> with the files in that directory.
> And then if i access any other folder like http://host/test I want it not to
> show any files.

Given what you say here you should be able to achieve this by setting:

Options -Indexes # in /.htaccess or globally for the docroot

and then:

Options Indexes # in /alex/.htaccess

Jez Hancock
 - System Administrator / PHP Developer  - Another FreeBSD Diary        - ipfw peruser traffic logging

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message