您的位置 首页 CentOS

apache 多端口配置多站点(centos7)

<table class=”text”>

<tr class=”li1″>
<td class=”ln”><pre class=”de1″>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

ServerName test.com DocumentRoot “/home/test/www” DirectoryIndex index.php index.html AllowOverride all Require all granted 3.(注意防火墙)在iptables中打开添加端口通过 (/etc/sysconfig/iptables) 4. #systemctl restart httpd.service #systemctl restart iptables.service

关于作者: dawei

【声明】:金华站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

热门文章