Created
March 30, 2011 01:03
-
-
Save ebot/893675 to your computer and use it in GitHub Desktop.
Passenger Setup Notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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