httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme Fowler <gra...@graemef.net>
Subject Re: [users@httpd] View directory index but not parent directory
Date Fri, 09 Nov 2007 11:59:21 GMT
On Fri, 2007-11-09 at 11:36 +0000, Luis Moreira wrote:
> Using Apache 2.2.6, I want to allow access to a specific directory
> with authentication, which works fine.
> When accessed, it looks like this 
> 
> Index of xxxx
> 
> . Parent Directory 
> . fitoterapia.krp 
> . publish.zip 
> 
> The thing is I don't want "parent directory" to be viewed, or at
> least "clickable".

In a .htaccess file, or in the main config for that virtualhost,
location or directory:

Options +Indexes
IndexIgnore ..

Graeme


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