3
我不能爲了管理httpd.conf中啓用目錄索引在一個特定的文件夾中:啓用目錄索引一個文件夾
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
IndexIgnore *
<Directory "/srv/http/testsite/images">
Options FollowSymLinks +Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
有什麼不對?
'IndexIgnore *'這將*忽略*所有文件索引 – PtPazuzu
是的,但我設置了Allowoverride重寫和添加+選項索引...是不是錯誤? –
AllowOverride用於確定可以在.htaccess文件中覆蓋哪些參數。它不會撤銷早些時候在配置中設置的設置。 – PtPazuzu