Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-08-20
2
Medium Priority
?
331 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 750 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

824 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