日期:2012-10-05  浏览次数:20488 次

如何让自己的本地APACHE服务器支持".htaccess"呢?其实只要简单修改一下apache的httpd.conf设置就可以让APACHE支持.htaccess了,来看看操作

打开httpd.conf文件(在那里? APACHE目录的CONF目录里面),用文本编辑器打开后,查找

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

改为

<Directory />
    Options FollowSymLinks
    AllowOverride All
</Directory>

就可以了