Directory list - mod_autoindex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux