您的位置 首页 CentOS apache 多端口配置多站点(centos7) dawei 发布于 2020年9月1日 <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 点赞(12) CentOS下配置JDK 点赞(14) 将Centos的yum源更换为国内的阿里云源 点赞(10) 热门文章 1织梦上传本地视频后文件管理器中不显示解决办法 点赞(34) 2织梦ckeditor编辑器通过修改js去除img标签内的width和height样式 点赞(31) 3织梦dede:likeart相关文章title注释无效解决方法 点赞(33) 4如何将我的网站,mySQL,php页面,文件,设置等迁移到Amazon EC2? 点赞(29) 5织梦文章内容分页页数控制方法 点赞(23)