开启 htaccess 配置

是在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 配置

上一篇:MSSQL 简单练习回顾


下一篇:ORACLE 索引批量重建