httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jez Hancock <jez.hanc...@munk.nu>
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

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging

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