Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## httpd.conf
- Include /private/etc/apache2/extra/passenger.conf
- # Added by the Passenger preference pane
- # Make sure to include the Passenger configuration (the LoadModule,
- # PassengerRoot, and PassengerRuby directives) before this section.
- <IfModule passenger_module>
- NameVirtualHost *:80
- Include /private/etc/apache2/passenger_pane_vhosts/*.conf
- # PassengerRuby /opt/ruby-enterprise-1.8.6-20080810/bin/ruby
- </IfModule>
- ## extra/passenger.conf
- LoadModule passenger_module /opt/local/lib/ruby/gems/1.8/gems/passenger-2.2.2/ext/apache2/mod_passenger.so
- PassengerRoot /opt/local/lib/ruby/gems/1.8/gems/passenger-2.2.2
- PassengerRuby /opt/local/bin/ruby
- PassengerPoolIdleTime 3600
- RailsEnv development
- # That should be it. The pref pane will create a directory called passenger_pane_vhosts that it sticks stuff in.
- ## Example local site
- <VirtualHost *:80>
- ServerName jobboard.local
- DocumentRoot "/Users/tj/Dev/Rails/Terralien/phds.org/jobboard/public"
- RailsEnv development
- RailsAllowModRewrite off
- <directory "/Users/tj/Dev/Rails/Terralien/phds.org/jobboard/public">
- Order allow,deny
- Allow from all
- </directory>
- </VirtualHost>
Add Comment
Please, Sign In to add comment