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??
Thanks.
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??
Thanks.
here's a working simple solution:
<Directory /path/to/docroot/folder> Options -Indexes </Directory> <DirectoryMatch /path/to/docroot/folder/(.)*/> Options +Indexes </DirectoryMatch> Here is an option that you can use from .htaccess:
Options +Indexes RewriteRule ^$ - [F] You can do this with an .htaccess file in each subfolder or at the top of each subfolder hierarchy. http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride ~ assuming apache