Where is the default location for Apache access logs on a Linux computer?

Prepare for the Computer Hacking Forensic Investigator v11 exam. Study with flashcards and multiple choice questions. Each question includes hints and explanations. Get exam-ready efficiently!

Multiple Choice

Where is the default location for Apache access logs on a Linux computer?

Explanation:
Apache writes its access logs inside the server’s Logs directory, determined by the ServerRoot setting. In classic installations, the server root is /usr/local/apache, so the access log sits at /usr/local/apache/logs/access_log. That matches the given option. The other paths don’t fit Apache’s usual directory structure for logs, either placing logs in unrelated locations, using a relative path, or misnaming the directory. (Note that some modern distributions use /var/log/apache2 or /var/log/httpd, but the option shown corresponds to the traditional default location.)

Apache writes its access logs inside the server’s Logs directory, determined by the ServerRoot setting. In classic installations, the server root is /usr/local/apache, so the access log sits at /usr/local/apache/logs/access_log. That matches the given option. The other paths don’t fit Apache’s usual directory structure for logs, either placing logs in unrelated locations, using a relative path, or misnaming the directory. (Note that some modern distributions use /var/log/apache2 or /var/log/httpd, but the option shown corresponds to the traditional default location.)

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy