百科学堂 | 实用工具

Win下开启Apache的.htaccess功能



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
NDF网站建设淘宝店 | 联系我们
©2007-2025 NDF Corporation