以前没有注意,最近发现这个配置文件中其实有2个地方有override设定,

一个是

Options FollowSymLinks
AllowOverride All

还有一个是单独的

AllowOverride controls what directives may be placed in .htaccess files.

It can be "All", "None", or any combination of the keywords:

Options FileInfo AuthConfig Limit

#
AllowOverride None

发现只要把第一个改成all就可以识别htaccess了,可问题是第二个allow override是干嘛用的?