Home  >  Article  >  php教程  >  如何让APACHE支持.htaccess

如何让APACHE支持.htaccess

WBOY
WBOYOriginal
2016-06-21 09:00:37859browse

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

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


    Options FollowSymLinks
    AllowOverride None

改为


    Options FollowSymLinks
    AllowOverride All

就可以了



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn