Guest User

Untitled

a guest
May 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/ext/apache2/mod_passenger.so
  2. PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3
  3. PassengerRuby /usr/local/bin/ruby
  4.  
  5.  
  6. RailsEnv development
  7. RailsAutoDetect off
  8. PassengerMaxPoolSize 1
  9.  
  10.  
  11. Listen 3000
  12.  
  13. NameVirtualHost *:3000
  14. <VirtualHost *:3000>
  15. ServerName restorm.dev
  16. DocumentRoot /Users/severin/work/restorm-com/public
  17. RailsBaseURI /
  18. PassengerLogLevel 2
  19. </VirtualHost>
  20.  
  21. <VirtualHost *:3000>
  22. ServerName assets.restorm.dev
  23. DocumentRoot /Users/severin/work/restorm-com/public
  24. Options -indexes
  25. RewriteEngine on
  26. RewriteLogLevel 0
  27. RewriteCond %{QUERY_STRING} filename=(.+)
  28. RewriteRule (.*)/([^/]*) $1/%1?no
  29. </VirtualHost>
  30.  
  31.  
  32. <Directory "/Users/severin/Sites/">
  33. Options Indexes MultiViews
  34. AllowOverride None
  35. Order allow,deny
  36. Allow from all
  37. </Directory>
Add Comment
Please, Sign In to add comment