• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

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

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
gillji
Asked:
gillji
  • 2
1 Solution
 
liquidblazeCommented:
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
 
liquidblazeCommented:
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now