【发布时间】:2011-10-29 03:32:08
【问题描述】:
我的 .htaccess 中有这个:
选项 +FollowSymLinks
我在 apache error_log 中收到以下错误:
.htaccess: Options not allowed here
这是我的 httpd.conf 文件中的部分:
#htdocs symlinks here
<Directory /Users/you/code/my/folder>
Options All
AllowOverride All
</Directory>
<Directory />
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory "/Applications/XAMPP/xamppfiles/htdocs">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
所以我在任何地方都设置了 Options All 和 AllowOverride All ,但我仍然不允许设置该选项。任何人都可以理解这一点吗?
谢谢, B先生
【问题讨论】:
标签: .htaccess options httpd.conf