apache 多端口配置多站点(centos7)
发布时间:2020-09-01 15:44:09 所属栏目: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"> |
(编辑:十堰站长网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
相关内容
- centos7.2 安装 mysql5.7.13加密(ssl)实现mysql数据库的主从
- Centos7 SoftEther Client 安装
- Linux( CentOs7 )下安装MySQL
- CentOS7上node安装
- Centos6.6 网络配置以及虚拟机与本机Ping通办法
- 阿里云centos 7.4 下 php 7.3.1 编译安装
- CentOS yum安装Apache + PHP + Tomcat7 + MySQL
- CentOS 7 sytemctl 自定义服务开机启动
- CentOS 7 巨大变动之systemd取代System V init
- Centos 7 docker 启动容器iptables报No chain/target/match