apache错误日志在哪
apache错误日志在哪?
发行版的默认apache错误日志位置:
RHEL / Red Hat / CentOS / Fedora – / var / log / httpd / error_log Debian / Ubuntu – /var/log/apache2/error.log FreeBSD – /var/log/httpd-error.log
要查找确切的apache错误日志文件位置,可以使用grep命令:
# grep ErrorLog /usr/local/etc/apache22/httpd.conf # grep ErrorLog /etc/apache2/apache2.conf # grep ErrorLog /etc/httpd/conf/httpd.conf
样本输出:
# ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a ErrorLog "/var/log/httpd-error.log"
以上就是apache错误日志在哪的详细内容,更多请关注其它相关文章!