how to configure apache to view hidden (`.`) files?
How do I make a directory listing in apache show the .
/hidden files? I tried both
<Directory /var/www/*>
Options Indexes FollowSymLinks M开发者_JAVA技巧ultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
and
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
but neither show the hidden files
check what your IndexIgnore is set to. On mine, it's:
/etc/apache2/mods-enabled/autoindex.conf:IndexIgnore .??* *~ *# RCS CVS *,v *,t
Obviously, you'd want to remove that
.??*
精彩评论