webserver / apache webdav / apache httpd

s

https://www.iteye.com/blog/icarusliu-366513

1.Redirect requested but followRedirects is disabled:URL的后面没有加上'/',如在我的程序里面

URL应该是:http://localhost:8080/slide/,但是写成http://localhost:8080/slide就会出现这样的错误.

解决httpd: Could not reliably determine the server's fully qualified domain name

https://www.cnblogs.com/52linux/archive/2012/03/24/2415637.html

用记事本打开 httpd.conf

将里面的 #ServerName localhost:80 注释去掉即可。

再执行 httpd

然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。

++++++++++++++++++++++++++++++++++++++++++++

using localhost.localdomain for ServerName 说不能确认服务器完全确认域名 localhost.localdoman 这个问题怎么解决

最佳答案:

vi /etc/httpd/conf/httpd.conf 加入一句 ServerName localhost:80

end

猜你喜欢

转载自www.cnblogs.com/lindows/p/12010218.html