然后
搜索 LoadModule rewrite_module modules/mod_rewrite.so
去掉前面的#
搜索AllowOverride None 替换为 AllowOverride All
有好几个找到和下面代码类似的那个
</IfModule>
#
# "D:\usr\local\Apache2\cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "D:\usr\local\Apache2\cgi-bin">
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>