如果Apache无法加载到Ubuntu服务器,我可以在哪里find日志来找出原因?
检查这两个文件:
/var/log/apache2/error.log /var/log/messages
你可以做的另一件事是运行$ apache2ctl configtest 。 这将运行一个语法检查你的configuration文件,并应让你知道,如果任何东西看起来是错误的。
$ apache2ctl configtest
Ubuntu服务器中Apache2的默认日志logging位置是/ var / log / apache2