设置 | 登录 | 注册

目前共有2篇帖子。

[Apache]apache开启.htaccess支持

1楼 張樹人 2011-2-11 02:43
打开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文件了,终于我自己电脑上用于测试的WordPress也用上固定链接了。
2楼 魔法绿骑士 2011-10-5 09:38

内容转换:

回复帖子
内容:
用户名: 您目前是匿名发表。
验证码:
看不清?换一张
©2010-2025 Purasbar Ver3.0 [手机版] [桌面版]
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。