apache 多端口配置多站点(centos7)
发布时间:2020-05-22 17:22:49 所属栏目:CentOS 来源:互联网
导读:1.在配置文件httpd.conf(/etc/httpd/conf)中添加监听端口,如:Listen 8008 2.配置虚拟主机,如: ServerName test.com DocumentRoot /home/test/www DirectoryIndex index.php index.html AllowOverride all Require all granted 3.(注意防火墙)在iptables
|
<table class="text"> |
(编辑:安卓应用网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
相关内容
- Centos 下安装 Nginx
- CentOS 中 YUM 安装桌面环境
- CentOS 6.1下设置MySQL 5.21 字符集设置(gbk)
- CentOS服务器Nginx设置WordPress 301重定向
- CentOS Linux解决Device eth0 does not seem to be present
- centos下/etc/sysconfig/下找不到iptables文件
- Centos7上Mesos和Marathon的安装和配置
- 详解如何在CentOS7中使用Nginx和PHP7-FPM安装Nextcloud
- DAY4:CentOS6.8(及7)的文件系统(2)
- CentOS 7 yum安装Zabbix
