Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 20th, 2012  |  syntax: None  |  size: 0.27 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. rvm use 1.9.1
  2. gem install passenger
  3. cd /var/rails/staging_sites/Zed
  4. passenger start -a 127.0.0.1 -p 3000 -d
  5.  
  6. <VirtualHost *:80>
  7.     ServerName staging.zed.bangthetable.com
  8.     ProxyPass / http://127.0.0.1:3000/
  9.     ProxyPassReverse / http://127.0.0.1:3000/
  10. </VirtualHost>