|
发表于 2004-10-30 12:22:51
|
显示全部楼层
回复: 如何允许apache2列出文件目录?
最初由 nothing9 发表
###
### Each directory to which Apache has access, can be configured with respect
### to which services and features are allowed and/or disabled in that
### directory (and its subdirectories).
###
### First, we configure the "default" to be a very restrictive set of
### permissions. Also, for security, we disable indexes globally.
###
### Restricted set of options:
###
<Directory />
Options -All -Multiviews
AllowOverride None
<IfModule mod_access.c>
Order deny,allow
Deny from all
</IfModule>
</Directory>
Options 这一段中已经用了All,需要把 All 改成 Indexes 吗?这一行的两个破折号是什么意思啊?
那个破折号是减号!
加上Indexes |
|