The author has 1 post.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
1420 1
[Apache]apache开启.htaccess支持
張樹人
初级工程师 九级
Reply
Floor 1 Posted at: 2/11/11 2: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也用上固定链接了。
Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 1420 Replies: 1
Author: 張樹人
Last reply: 魔法绿骑士
Last reply time: 10/5/11 9:38
Announcements