Solved

Is it possible to use the IndexIgnore directive to supress the listing of sub directories?

Posted on 2004-08-20
2
321 Views
Last Modified: 2006-11-17
I would like to list all the files of a directory but not the subdirectories. Right now I get both. Or maybe there is another way to to this? Using Apache 1.3.27
0
Comment
Question by:gillji
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
liquidblaze earned 250 total points
ID: 11860648
sorry to say but that wont work :S

see mod_autoindex on apache.org

The IndexIgnore directive adds to the list of files to hide when listing a directory. File is a file extension, partial filename, wildcard expression or full filename for files to ignore. Multiple IndexIgnore directives add to the list, rather than replacing the list of ignored files. By default, the list contains `.'. Example:
0
 
LVL 2

Expert Comment

by:liquidblaze
ID: 11914490
thx for the points - could you explain why this one got a B?
I feel that I responded as good as possible.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question