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 B. 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
Then in /etc/hosts I added:
127.0.0.1 livewiredmusic.local
Thanks for the help!