首页 > 代码库 > apache2.4设置外网访问问题

apache2.4设置外网访问问题

Apache 从2.2升级到 Apache2.4.x 后配置文件 httpd.conf 的设置方法有了大变化,以前是将 deny from all 全部改成 Allow from all 实现外网访问,现在是将 Require all denied 以及 Require local 都该为 Require all granted 就可以了。

.htaccess 如果不起作用将 LoadModule rewrite_module modules/mod_rewrite.so 前面的注释(#)去掉就可以了。

http://www.jb51.net/article/61193.htm

apache2.4设置外网访问问题