Make Dropbox, LAMP and Ubuntu Linux play nicely

# Assuming you’ve already installed LAMP, it’s a three-step process from a fresh install:

# Symlink /var/www/drbx to ~/Dropbox/dev

ln -s /var/www/drbx ~/Dropbox/dev

# Set permissions on destination folder

chmod +x ~/Dropbox/dev

# Ensure apache can traverse the path

chmod +x /
chmod +x /home
chmod +x /home/rich
chmod +x /home/rich/Dropbox

# Now visit http://localhost/drbx to see your work!

Source: Solved: Make Dropbox, LAMP and Ubuntu Linux play nicely | Rich Jenks