httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sławomir Młynarek" <slawomir.mlyna...@primesoft.pl>
Subject [users@httpd] Directory list - mod_autoindex
Date Fri, 27 Apr 2007 19:58:36 GMT
Hello
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
</Directory>
<Files ~ "^my_file">
      
Order deny,allow
      
Allow from all
</Files>   

but I received 403 message (not access)

Is it some method to achieve this ?

Regards
-- 
MaGazynieR


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