首页 > 数据库技术 > 详细

开启 htaccess 配置

时间:2014-03-28 15:21:48      阅读:371      评论:0      收藏:0      [点我收藏+]

是在wamp中,apache2.2 开启 伪静态时,httpd.conf 配置如下:

查找

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>

修改为:

<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>

 

查找

# 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 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 All

开启 htaccess 配置,布布扣,bubuko.com

开启 htaccess 配置

原文:http://www.cnblogs.com/lin3615/p/3630069.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!