Apache + Passenger on OSX

I am using the default Apache install that comes with OSX and Passenger
3.0.6. Everything was working fine and then today I started getting the
error:

[Fri May 27 09:00:58 2011] [error] [client 127.0.0.1] Symbolic link not
allowed or link target not accessible: /Users/tom/sites

The directory is configured as:

<Directory "/Users/tom/sites/c1/public">
   Options Indexes FollowSymLinks MultiViews
   Order allow,deny
   Allow from all
</Directory>

I don’t believe it is a permissions error, I gave 777 permissions on the
folder being logged just in case. Nothing has changed except for
changing
out gemsets. What could cause this message?

Thanks,
Tom

Just a guess: “sites” is not capitalized in your path and it is in OSX.

**Leigh

Thanks, I did try changing that with no joy. Anything else you can
think
of?

I figured out the problem. I was using a symbolic link for the sites
folder
that pointed to a location in my dropbox. For some reason Apache
doesn’t
like that anymore.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs