Forbidden You don’t have permission to access /~username/directory in Mac OS X

I have this weird issue with my website backups. When I store them inside my Sites folder and try to view them from the browser.

1. They do not appear listed when I do a directory listing
2. Accessing the folder manually produces the error

You don’t have permission to access on localhost /~username/mydirectory

This is well known and documented on Apple here.

But my issue is it is only a problem for this backups, the existing directories I have in my system works fine.

The solution is not straightforward but this works.

Follow the solution from Apple website. edit your username.conf file using terminal and then add the following line before closing.

Options +FollowSymLinks

So it looks like this.

<Directory “/Users/username/Sites/”>
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
Options +FollowSymLinks
</Directory>

Then restart apache

service apachectl restart

R.I.P Steve Jobs, Stay Hungry Stay Foolish

Whenever I feel down and need inspiration, your speech at Handford(2005) always never fails to reenergize my spirit and continue to what I am doing.

[youtube UF8uR6Z6KLc]

We have truly lost a visionary. Rest In Peace Mr. Jobs.

Safari Bug on Lion: The application Safari canceled restart

Noticed a bug on my Safari after upgrading to Lion. Haven’t been able to recreate it is as it appears to be random, when using Safari and you close some tabs. When you try to quit the Safari, the option is greyed out from the Safari Menu and Command+Q does not work. If you try to restart your mac you’ll get the screen shot below.
Read the rest of this entry »

Java Runtime missing on Mac OS X Lion

From Rosetta missing for PowerPc apps to run on Intel machines,  also missing after updating to Lion is the  Java runtime  which is used for running Java applications in my case particularly my Eclipse IDE.


Read the rest of this entry »

Installing Mac OS X Lion and making an installer backup

Finally decided to upgrade to OS X Lion and check what all the fuzz is all about, Lion no longer support PowerPC apps which is the one thing so far that I dont like but could live with it.


Read the rest of this entry »