Apache 2 Virtual Host Redirect

For one of my sites, I own .org, .net, and .com for the domain and I want all the requests to go to the .org domain. I switched to Apache 2 and this is the configuration I used:

<VirtualHost *:80>
  ServerName india.bigpatents.com
  ServerAlias india.bigpatents.com 

  RedirectMatch (.*) http://india.bigpatents.org$1

</VirtualHost>

Related Posts

  1. iPhone/iPad UISearchBar and UISearchDisplayController Asynchronous Example
  2. SPF Records with Rails and ActionMailer
  3. Google Analytics API with Ruby
  4. Max OS X Animated GIF Editor Champion -- Pixen
  5. Go wrapper for Tokyo Tyrant
You should follow me on Twitter: @patrickxb