windows下開啟apache的.htaccess功能
直接打開apache的配置文件httpd.conf
1.把#LoadModule rewrite_module modules/mod_rewrite.so前麵的#去掉。
2.找到
#
# 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
把最後的 AllowOverride None 改為 AllowOverride All
本文版权:
http://www.ndfweb.cn/news-560.html