Web sharing not working in Mac OS X Leopard
Like many others, I discovered web sharing not working in Leopard. It seems to be caused by using a Time Machine restored version of your system. That was my problem, and here’s a fix found on the Apple support forums that worked for me.
Maybe this will help you. The apache2 log file directory is missing, that was preventing apache from starting (verify this with Console). Try this:
sudo mkdir /private/var/log/apache2
Source: Web sharing not working after Time Machine restore


Thanks for this. Why in the world does apache behave this way?
[…] out certain files that Time Machine ignores to save space. One of those folders is the apache web server log folder which is required by apache at startup. Unfortunately OS X doesn’t tell you anything about […]