Its all about Ruby On Rails
Basic Introduction of Apache rewrite rules
Today, I had a basic talk about apache’s rewrite rules. Slides are below:
Today, I had a basic talk about apache’s rewrite rules. Slides are below:
October 23, 2008 - 4:04 pm
Tags: apache, mod_rewrite, redirect, rewrite
Posted in apache, mod_rewrite, redirect, rewrite | 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]
February 4, 2007 - 7:50 pm
Tags: apache, deploy, hosting, mongrel, Rails, ROR, Rubyonrails, server
Posted in ROR, Rails, Rubyonrails, apache, capistrano, deploy, deployment, mongrel, mongrel_cluster | 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 rails and rake gem as [...]