Created
September 11, 2013 19:46
-
-
Save pjdietz/6528809 to your computer and use it in GitHub Desktop.
Redirect with a simple Apache virtual host. No re-writing required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName bad-domain.com | |
ServerAlias www.bad-domain.com | |
Redirect / http://www.good-domain.com | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment