apache 多端口配置多站点(centos7) dawei 2020年9月1日 7:44 评论已关闭 <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,我们将及时予以处理。 为您推荐 centos升级gcc centos Iptables学习笔记 CentOS下配置JDK 将Centos的yum源更换为国内的阿里云源 在VM中Centos6.8如何手动挂载U盘 Centos7+Openvpn使用Windows AD验证登陆