5ThirtyOne

Derek Punsalan

Viewzi Media Temple

Fix for Apache2 / localhost after Apple 10.5 Time Machine restore

For local development, I prefer to use the Sites folder in my Home directory rather than the default Library/WebServer/Documents. When the time came for me to start local development on my MacBook again, I was immediately frustrated when I discovered that http://localhost/ no longer redirected to my Sites directory.

The problem? A recent Time Machine restore which failed to recreate the following directory:

/private/var/log/apache2

The fix was quite simple. Apparently restoring from a Time Machine backup is not as complete as Apple would have you believing.

sudo mkdir /private/var/log/apache2

The fix is rather simple, but altogether an extra step that Time Machine users should not have to bother with.

Personally, while I continue to let Time Machine with a WD 750GB external connected to a Apple AirPort Extreme do its work in the background (on my home network), I’ve rolled SuperDuper & Jungle Disk into the backup mix. Redundant you might say? Maybe… But complete peace of mind.

Are you backing up data regularly? Keep an eye on Reserve Chute for backing up your data in the "cloud".

2 Comments • RSS

  1. Jauhari says:

    I tried play around with MacPorts to do everything and satisfied with it. And I never use Time Machine. Because I still didn’t have any external disk :)

  2. Leo says:

    Thanks for this

Leave a Reply

Comments may be held for moderation. If your comment does not appear immediately, do not repost. I reserve the right to remove any inappropriate or off-topic comments. If you plan on sharing helpful code, please pass it through Postable first. Want other to know who you are? Register a Gravatar.

Syndicate

Subscribe via RSS or Email

Advertisements

9rules network

Categories

5ThirtyOne

Public projects

Select project

New Download

Release Status

More Info

Contribute / Donate

Projects available for download on 5thirtyone.com are shared with thousands of individuals. Looking for a new download? Contribute towards a new project release. (info)

  On Deck 5% Release

When total contributions reaches 100% ($2000 USD), a new public release will be made available for download (Updated daily). Contributions are completed securely via PayPal.

Not right now