我在Apache
驱动器中安装了D:
服务器。我将httpd.conf
文件中的路径从C:/Apache24
更改为D:\Softwear\Apache\httpd-2.4.23-win64-VC14\Apache24
。之后,当我在控制台窗口中运行httpd.exe
文件时,出现以下错误:
使用fe80 :: b9d9:69d8:47f1:1406无法可靠地确定服务器的完全限定域名。全局设置'ServerName'指令以禁止显示此消息
ServerName
文件中的httpd.conf
似乎有效。它是:
#ServerName www.example.com:80
我怀疑前面提到的链接是/
正常斜线c:/Apache24/htdocs
但现在是D:\Softwear\Apache\httpd-2.4.23-win64-VC14\Apache24/htdocs
它包含正斜杠和反斜杠。另一个疑问是conf
文件夹中的original
文件夹,其中包含另一个httpd.conf
文件。我是否还需要更改该文件中的路径?