让它在本地使用已命名主机并不重要,因为我需要的主要是外部网络访问(我已经设置了端口转发),但是我仍然想知道为什么我不能用我定义的VirtualHost访问ServerName。我正在开发一个Raspberry Pi (基于Debian的Raspbian),但是我在VMWare VM的Ubuntu 18上遇到了同样的问题,无论是在许多操作系统上还是在Apache安装上。在我的Apache.conf中,我添加了:
ServerName l
我无法在debian 9上重新启动apache服务器。我试过重新安装:但是没有变化..。See "systemctl status apache2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript apache2, acti
几天前安装了Apache web服务器之后,我就在我的Ubuntu本地机器上安装了Nginx web服务器,以便设置反向代理服务器。但是,当我试图通过在我的终端中运行下面的命令来启动Nginx服务器时我得到下面的错误 systemctl status nginx.service● nginx.service - A hi
[Apache] Problem detected!12:43:58 [Apache] Port 80 in use by "Unable to open process" with PID 4!12:43:58 [Apache] Apache WILL NOT start without the configured ports free!12:43:58 [Apache] You need to uninstall/disable/