找到apache的配置文件/etc/httpd/conf/httpd.conf
找到#ServerName www.example.com:80 把#去掉,再重启apache即可
找到apache的配置文件/etc/httpd/conf/httpd.conf
找到#ServerName www.example.com:80 把#去掉,再重启apache即可
下一篇:防火墙配置文件
5-Docker实例-安装httpd
【LeetCode】39. 组合总和
vi /etc/httpd/conf/httpd.confServerName 192.168.1.129:80(找到后放开注释而且修改IP)
错误提示: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName解决的方法就是修改httpd.conf中的ServerName IP:port与Listen IP:端口一致就OK了。其中IP可以是本机hostnam
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M