Monday, 16 March 2009

apache httpd mod_autoindex 'missing' subfolder

Also getting tried when apache httpd is not showing the subfolder of a directory indexes listing (generated by mod_autoindex), when for example the permission is denied by the means of AuthBasic. Don't know where I am talking about, maybe this example makes sense:



DirectoryRoot /usr/local/www/data
Options +Indexes

<Directory "/usr/local/www/data">
Order allow,deny
Allow from all
</Directory>

<Directory "/usr/local/www/data/foo">
AuthUserFile /usr/local/www/secret/.foo-htpasswd
AuthType Basic
AuthName "Directory 'foo' not visible in indexing of /"
Require valid-user
</Directory>


AllowForbidden is the magic keyword we need to follow, as suggested at nixforums.org, join me...


A patch has been proposed and applied. And it it also in tags/3.2.1. But wait a minute ... no release scheduled yet, as 3.2.1 is a so called DOA

Anyways work in process, let there be a new release some day :-)

No comments:

Post a Comment