[Email protected] logs]# vim/usr/local/apache2/conf/extra/httpd-vhosts.conf
First copy a template in the master configuration file
[Email protected] ~]# vim/usr/local/apache2/conf/httpd.conf
AllowOverride None
Options None
Order Allow,deny
Allow from all
[Email protected] logs]# vim/usr/local/apache2/conf/extra/httpd-vhosts.conf
650) this.width=650; "Src=" Https://app.yinxiang.com/shard/s53/res/1b91419c-258e-427c-b05f-d89edf1b17b3.png? Search=%e8%ae%bf%e9%97%ae%e6%8e%a7%e5%88%b6 "alt=" Apache access Control "width=" 601 "height=" 378 "class=" En-media "style=" Margin:.857412em 0px 1.286em;padding:0px;border:0px;height:auto; "/>
[Email protected] logs]#/usr/local/apache2/bin/apachectl-t
Syntax OK
[Email protected] logs]#/usr/local/apache2/bin/apachectl restart
[Email protected] logs]#
This article is from the "Mr Guo" blog, so be sure to keep this source http://490617581.blog.51cto.com/7223113/1751119
Apache Access Control