I am setting up Passenger on my dev box and I am running into an issue
getting the ServerName on a vHost to work. The code below allows
localhost to work as planned. However when I try to pull up the app
using the ServerName "livewiredmusic.local" I always get a 403.
Also, I installed the Passenger Pref Pane just to see if that would
work, but I get the same 403 using the code it generates. FYI I
followed Ryan Bates screencast...
I gave the app's public dir 777 at one point as well and still got the
403.
This is my httpd.conf:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName livewiredmusic.local
DocumentRoot /Users/elliott/Documents/***/WebSites/
LiveWiredMusic.org/LiveWiredMusic/public
<Directory "/Users/elliott/Documents/***/WebSites/
LiveWiredMusic.org/LiveWiredMusic/public">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Then in /etc/hosts I added:
127.0.0.1 livewiredmusic.local
Thanks for the help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---