Guest User

Untitled

a guest
Jun 18th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. ## httpd.conf
  2.  
  3. Include /private/etc/apache2/extra/passenger.conf
  4.  
  5. # Added by the Passenger preference pane
  6. # Make sure to include the Passenger configuration (the LoadModule,
  7. # PassengerRoot, and PassengerRuby directives) before this section.
  8. <IfModule passenger_module>
  9. NameVirtualHost *:80
  10. Include /private/etc/apache2/passenger_pane_vhosts/*.conf
  11. # PassengerRuby /opt/ruby-enterprise-1.8.6-20080810/bin/ruby
  12. </IfModule>
  13.  
  14. ## extra/passenger.conf
  15.  
  16. LoadModule passenger_module /opt/local/lib/ruby/gems/1.8/gems/passenger-2.2.2/ext/apache2/mod_passenger.so
  17. PassengerRoot /opt/local/lib/ruby/gems/1.8/gems/passenger-2.2.2
  18. PassengerRuby /opt/local/bin/ruby
  19. PassengerPoolIdleTime 3600
  20. RailsEnv development
  21.  
  22. # That should be it. The pref pane will create a directory called passenger_pane_vhosts that it sticks stuff in.
  23.  
  24. ## Example local site
  25.  
  26. <VirtualHost *:80>
  27. ServerName jobboard.local
  28. DocumentRoot "/Users/tj/Dev/Rails/Terralien/phds.org/jobboard/public"
  29. RailsEnv development
  30. RailsAllowModRewrite off
  31. <directory "/Users/tj/Dev/Rails/Terralien/phds.org/jobboard/public">
  32. Order allow,deny
  33. Allow from all
  34. </directory>
  35. </VirtualHost>
Add Comment
Please, Sign In to add comment