DobotJr DobotJr - 1 year ago 127
Apache Configuration Question

Subfolder directory browsing in Apache2

Got a folder at http://myserver/folder/, I have disabled directory browsing for that folder.

But I want to enable directory browsing for the subfolders of http://myserver/folder/

How can I do this??


Answer Source

here's a working simple solution:

<Directory /path/to/docroot/folder>
        Options -Indexes
<DirectoryMatch  /path/to/docroot/folder/(.)*/>
        Options +Indexes
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download