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

Enhance your knowledge as a Computer Hacking Forensic Investigator with the CHFI v11 Test. Use flashcards and multiple-choice questions, complete with hints and detailed explanations, to prepare effectively and ace your exam!

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 Examzify

You can unsubscribe at any time. Read our privacy policy