Top-Level Domain rewrite using mod_rewrite in Apache2
I host four domain names:
I want to do mod_rewrite for these virtual hosts, so that if someone goes to domain.info, it rewrites it to domain.com. If someone goes to domain.net, it rewrites it to domain.com, and so-forth.
I am an idiot when it comes to regex. can someone tell me how the mod_rewrite segment would look inside a vhost container? Thanks!