httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sławomir Młynarek" <>
Subject [users@httpd] Directory list - mod_autoindex
Date Fri, 27 Apr 2007 19:58:36 GMT
I've got problem.
I have many folders with files. I want to display only one file per folder, 
file name for example 'my_file' (it can exist or not, rest files should be 
hidden and not accessible).
My idea was use mod autoindex but isn't work correctly.
I tried use directory directive with "deny from all" and next file 
directive with "allow from all" like
<Directory /web/test>
IndexOptions FancyIndexing HTMLTable VersionSort SuppressColumnSorting 
SuppressLastModified SuppressDescription  IgnoreClient
Options +Indexes
Order deny,allow
Deny from all
<Files ~ "^my_file">
Order deny,allow
Allow from all

but I received 403 message (not access)

Is it some method to achieve this ?


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