Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got web sharing enabled (System Preferences / Sharing / Web Sharing ) on my mac os x machine (10.6). I'd like to inspect the apache logs to look at the user agent string. Where are these logs kept? Answers on here appear to suggest /var/log/httpd, but there's nothing there on my machine.

Anyone know where they are?


share|improve this question
up vote 14 down vote accepted

Try /private/var/log/apache2 Also, this path is hidden to the finder, so you will either need to use (in utilities) to get to it, or use "Go to Folder" from the Finder menu.

share|improve this answer
The easiest way to get to that location and read the files would be to run Utilities -> Console. Under 10.5, you can adjust disclosure triangles to get to LOG FILES -> /var/log -> apache2. (I suspect it is the same or very close under 10.6). – Clinton Blackmore Nov 8 '10 at 18:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.