Apache 2 virtual host redirect Feb 12
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>
1 comment
stanislas guerra May 11 2008
Add a comment