In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Apache Error Log Location on CentOS
Default Error Log
In Red Hat-based Linux, system-wide Apache error log files are placed at/var/log/httpd/error_log by default. This default location can be customized by modifying the Apache configuration file.
Custom error logs
To find the custom location of Apache error logs, open/etc/httpd/conf/httpd.conf with a text editor and look for ServerRoot, which shows the top level of the Apache Web server directory tree where log files and configuration are located. For example:
ServerRoot "/etc/httpd"
Now look for the line at the beginning of ErrorLog, which indicates where the Apache Web server wrote the error log. Note that the location specified is relative to the ServerRoot value. For example:
ErrorLog "log/error_log"
Combining the above two directives gives you the complete error log path, which by default is/etc/httpd/logs/errorlog. In a fresh Apache installation, this is a symbolic link to/var/log/httpd/errorlog.
In practice, ErrorLog may point to anywhere in your Linux system.
extended
Apache HTTP Server (Apache for short) is an open source web server from the Apache Software Foundation that can run on most computer operating systems and is one of the most popular Web server-side software due to its multi-platform and security. It is fast, reliable, and can be extended via simple APIs to compile interpreters such as Perl/Python into the server.
Apache HTTP Server is a modular server derived from NCSA httpd Server, which has been modified many times to become the world's number one Web server software.
That's the apache error log location on centos. For more information, please follow other related articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.