about 1 year ago - 2 comments
You may want to redirect all visitors to coming to your domain “domain.com” to “www.domain.com”. Most popular way to do this is using apache’s mod_rewrite module. You just need to add few lines in your apache’s configuration file: RewriteEngine on RewriteCond %{HTTP_HOST} ^domain\.com RewriteRule ^(.*)$ http://www.domain.com$1 [R=permanent,L]
about 3 years ago - 9 comments
So you want to setup production server with mongrel clusters and apache proxy balancer, also wants to use capistrano for deployment, huh. Take it easy, its very simple. You need Apache 2.2 or later on your production server, and the following ruby gems on your both machine(server and local): capistrano mongrel mongrel_cluster I haven’t mentioned