Can’t see Dropbox folder within localhost

apachedropboxpermission

I've setup Apache for web development on Yosemite. It's setup fine and I'm able to view folders within my documentroot using http://localhost as I'd expect to.

I now want to use my Projects folder within Dropbox using Apache so have moved my Dropbox folder within the documentroot. There are other directories within documentroot as well.

The problem is when using http://localhost to navigate around these directories, the Dropbox directory doesn't show in the browser. Nothing within it is accessible either. The directories sitting alonsgide are accessible as I'd expect. I think it's probably a permissions thing with the Dropbox directory.

I'm in the process of switching my dev environment from Windows (where this wouldn't have been a problem) to Mac so apologies if I'm missing anything. How do I make sure I can see and use this Dropbox directory when viewing its parent using http://localhost?

Best Answer

Open Info window (Command+I) and check Shared Folder.

enter image description here