I am seeing the exact same problem.
OS X 10.5.8
On Sep 23, 3:15 pm, Jordy Mont-Reynaud <
jor...@gmail.com> wrote:
> Hi,
> I just installed Passenger and am trying to get it to work on my Mac,
> running the default Apache installation. Apparently Passenger
> 1.0.2<
http://blog.phusion.nl/2008/04/29/phusion-passenger-mod_rails-version...>supports
> Mac's default Apache out of the box, but I'm having issues.
>
> When I fire up Apache (System Preferences -> Sharing -> Web Sharing On) and
> go to 127.0.0.1 in the browser, (or localhost, or my vhost
jordy.texter.com),
> I see a 403 Forbidden Error.
> In the apache logs, I see the following:
>
> *[Wed Sep 23 13:27:28 2009] [error] [client 127.0.0.1] (13)Permission
> denied: access to / denied*
> *[Wed Sep 23 13:27:28 2009] [error] [client 127.0.0.1] (13)Permission
> denied: access to /favicon.ico denied, referer:
http://jordy.texter.com/*
>
> Some Googling made me suspect that maybe there was a permissions problem
> with Mac default Apache accessing sites outside the /Sites directory, so I
> tried a quick hack of copying my entire Rails texter directory into /Sites
> and updating the apache logs. I get the a similar error:
>
> *[Wed Sep 23 18:09:03 2009] [error] [client 127.0.0.1] client denied by
> server configuration: /Users/jordym/Sites/texter/public/*
> *[Wed Sep 23 18:09:03 2009] [error] [client 127.0.0.1] client denied by
> server configuration: /Users/jordym/Sites/texter/public/favicon.ico,
> referer:
http://jordy.texter.com/*
>
> Permissions for the Rails texter directory is: *drwxr-xr-x 20 jordym staff
> 680 Sep 22 18:00 texter*
> I tried updating the group from staff to www, but that didn't help.
>
> Any ideas what I should try next?
>
> If I have to, I could do another custom Apache install, but I feel like I
> should be able to get it to work with Mac's default install, and keep my
> Rails directory where it is. I feel like I'm just one quick permissions fix
> away, but I'm not sure what exactly that is.
>
> All tips greatly appreciated!
>
> Thanks,
>
> Jordy
>
> ---------------------
>
> Relevant details from my current set-up:
>
> *1. Rails project "texter"*
> lives at /Users/jordym/Documents/work/Ruby/texter
>
> *2. /etc/apache2/httpd.conf*
> ...
> User www
> *Group www*
> *...*
> *DocumentRoot "/Library/WebServer/Documents"*
> *...*
> *# User home directories - enabled
> *
> *Include /private/etc/apache2/extra/httpd-userdir.conf*
> *
> *
> *# Virtual hosts - enabled
> *
> *Include /private/etc/apache2/extra/httpd-vhosts.conf*
> *
> *
> *# Phusion Passenger includes
> *
> *#
http://www.modrails.com/documentation/Users%20guide%20Apache.html
> *
> *LoadModule passenger_module
> /Users/jordym/.gem/ruby/1.8/gems/passenger-2.2.5/ext/\*
> *apache2/mod_passenger.so*
> *PassengerRoot /Users/jordym/.gem/ruby/1.8/gems/passenger-2.2.5*
> *PassengerRuby
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby*
> *
> *
> *3. /etc/apache2/extra/httpd-userdir.conf*
> *UserDir /Users/jordym/Documents/work/Ruby
>
> <Directory /Users/jordym/Documents/work/Ruby/>
> Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
> MultiVie\
> ws
> AllowOverride All
> Order allow,deny
> Allow from all
> </Directory>
>
> 4. /etc/apache2/extra/httpd-vhosts.conf
> <VirtualHost *:80>
> ServerName
jordy.texter.com
> DocumentRoot /Users/jordym/Documents/work/Ruby/texter/public
> RailsEnv development
> ErrorLog /private/var/log/apache2/jordy.texter.com-error_log
> </VirtualHost>
>
> *
> *5. /etc/hosts*
> *...*
> *127.0.0.1
jordy.texter.com*
>
> --http://www.curiousjordy.comhttp://
www.twitter.com/curiousjordy