November 2011
Intermediate to advanced
504 pages
11h 27m
English
When administering a website, it is important to understand how Lion Server handles Apache log files, where they are stored, and how to view them.
Apache has excellent logging capabilities and uses two main files when logging website information: the Access log and the Error log. The log files can store all kinds of information, such as the address of the requesting computer, amount of data sent, date and time of transaction, page requested by the visitor, and a web server response code.
Log files, named access_log and error_log, are located inside /var/log/apache2/ and are readable via the Console app.
To view Apache log files for a given site:
1. Open /Applications/Utilities/Console and navigate ...
Read now
Unlock full access