开发者

My localhost apache server isn't showing my index.html

开发者 https://www.devze.com 2023-03-30 15:03 出处:网络
Recently, my localhost apache serve开发者_如何转开发r stopped showing my index.html. It just shows \"It works!\" now. I\'m not sure what to do. My httpd.conf file looks fine, but this is it:

Recently, my localhost apache serve开发者_如何转开发r stopped showing my index.html. It just shows "It works!" now. I'm not sure what to do. My httpd.conf file looks fine, but this is it:

http://pastebin.com/JQSEMUTy

and when I attempt to restart my apache server it gives:

httpd: Could not reliably determine the server's fully qualified domain name, using Richard-Lus-MacBook-Pro.local for ServerName

Thanks in advance!


I guess there was an update..?

DocumentRoot "/sites"

is this the document root you are using? If not, fix it. Also, set your servername:

ServerName www.example.com:80
0

精彩评论

暂无评论...
验证码 换一张
取 消