Reputation: 11362
Can someone please help me figure out why my passenger setup wont work? Here are the steps I have taken to install it.
/private/etc/apache2/httpd.conf
LoadModule passenger_module /Users/username/.rvm/gems/ruby-1.8.7-p302@my_rails_app/gems/passenger-3.0.0.pre4/ext/apache2/mod_passenger.so PassengerRoot /Users/username/.rvm/gems/ruby-1.8.7-p302@my_rails_app/gems/passenger-3.0.0.pre4 PassengerRuby /Users/username/.rvm/wrappers/ruby-1.8.7-p302@my_rails_app/ruby
/private/etc/apache2/users/username.conf
<Directory "/Users/username/Sites/"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> <VirtualHost *:80> ServerName mule.local DocumentRoot /Users/username/sandbox/my_rails_app/public <Directory /Users/username/sandbox/my_rails_app/public> AllowOverride all # <-- relax Apache security settings Options -MultiViews # <-- MultiViews must be turned off </Directory> </VirtualHost>
Upvotes: 0
Views: 427
Reputation: 3861
I'm a bit late, but if you haven't discovered it yet, check out Passenger Preference Pane. It'll make your life much easier. It handles Apache config.
Upvotes: 2
Reputation: 18944
Get rid of the '# <-- ' things. Apache only supports comments on its own lines, not on the right of a config line.
Upvotes: 2