Solved: Make Dropbox, LAMP and Ubuntu Linux play nicely

Getting Dropbox, LAMP and Ubuntu Linux to play nicely isn’t as difficult as apache error.log’s cryptic messages lead you to believe. In fact, it’s quite simple!

Obviously this is horrible. Don’t do this. I don’t know why I thought this was a good idea. This post shouldn’t exist. Don’t do any of this k.

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

  1. Symlink /var/www/drbx to ~/Dropbox/dev
    ln -s /var/www/drbx ~/Dropbox/dev
    
  2. Set permissions on destination folder
    chmod +x ~/Dropbox/dev
    
  3. 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!

Leave a Reply

Your email address will not be published. Required fields are marked *