首页 » PHP » 阅读文章

windows下开启apache的.htaccess功能

2010-08-17 13:50 4476 0 发表评论
标签:

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
最后就是重启一下apache服务器使配置生效,这样就支持.htaccess文件了。

本文地址:http://www.jwzzsw.com/archives/223.html

文章作者:思悟
版权所有 © 转载时请以链接形式注明作者和原始出处!

评论 共0条 (RSS 2.0) 发表评论

  1. 暂无评论,快抢沙发吧。

发表评论

联系我 Contact Me

回到页首