312-49 · Question #190
Where is the default location for Apache access logs on a Linux computer?
The correct answer is A. usr/local/apache/logs/access_log. On Linux systems, the default location for Apache HTTP Server access logs when compiled from source is /usr/local/apache/logs/access_log (or /usr/local/apache2/logs/access_log). This is the standard path used in many Apache installations compiled with default settings. Note…
Question
Where is the default location for Apache access logs on a Linux computer?
Options
- Ausr/local/apache/logs/access_log
- Bbin/local/home/apache/logs/access_log
- Cusr/logs/access_log
- Dlogs/usr/apache/access_log
How the community answered
(35 responses)- A91% (32)
- C3% (1)
- D6% (2)
Explanation
On Linux systems, the default location for Apache HTTP Server access logs when compiled from source is /usr/local/apache/logs/access_log (or /usr/local/apache2/logs/access_log). This is the standard path used in many Apache installations compiled with default settings. Note that on package-managed distributions (e.g., Debian/Ubuntu), logs may reside at /var/log/apache2/access.log, but among the choices provided, /usr/local/apache/logs/access_log is the correct canonical default. The other paths listed (bin/local/home/..., usr/logs/..., logs/usr/...) are not valid Apache default log paths.
Topics
Community Discussion
No community discussion yet for this question.