Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LoadModule proxy_module modules/mod_proxy.so
- LoadModule proxy_http_module modules/mod_proxy_http.so
- <VirtualHost localhost:80>
- ServerName www.myapp.comm
- DocumentRoot "C:/web/myapp/public"
- ProxyPass / http://www.myapp.com:3000/
- ProxyPassReverse / http://www.myapp.com:3000/
- ProxyPreserveHost On
- </VirtualHost>
- mongrel_rails start -p 3000 -e production
- gem install mongrel_service
- gem install mongrel_service --platform x86-mswin32
- mongrel_rails service::install --name MyApp -e production -p 3001 -a 0.0.0.0
- mongrel_rails service::remove --name MyApp
Add Comment
Please, Sign In to add comment