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
在线咨询:
邮箱: xwei067@foxmail.com
工作时间:周一至周五,9:00-17:30,节假日休息