Skip to content

Instantly share code, notes, and snippets.

@ebot
Created March 30, 2011 01:03
Show Gist options
  • Save ebot/893675 to your computer and use it in GitHub Desktop.
Save ebot/893675 to your computer and use it in GitHub Desktop.
Passenger Setup Notes
To fix server permissions
===========================
In httpd.conf (/etc/apache2)
* Comment out User and Group
* Add User <name of admin user>
Create App Entries
====================
* Create custom conf at /private/etc/apache2/other/phusion.conf
* Add this:
LoadModule passenger_module /Users/edwardbotzum/.rvm/gems/ruby-1.9.2-head/gems/passenger-3.0.5/ext/apache2/mod_passenger.so
PassengerRoot /Users/edwardbotzum/.rvm/gems/ruby-1.9.2-head/gems/passenger-3.0.5
PassengerRuby /Users/edwardbotzum/.rvm/wrappers/ruby-1.9.2-head/ruby
<VirtualHost *:80>
ServerName customname
ServerAlias customname.local
RailsEnv development
DocumentRoot /path/to/app/public
<Directory /path/to/app/public/>
Options FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment