Created
December 11, 2014 19:24
-
-
Save cturra/46d13bea44bc7edca746 to your computer and use it in GitHub Desktop.
This file contains 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
$ svn diff | |
Index: modules/webapp/files/status/etc-httpd/domains/status.mozilla.org.conf | |
=================================================================== | |
--- modules/webapp/files/status/etc-httpd/domains/status.mozilla.org.conf (revision 98036) | |
+++ modules/webapp/files/status/etc-httpd/domains/status.mozilla.org.conf (working copy) | |
@@ -1,10 +1,19 @@ | |
-<VirtualHost *:80> | |
+<VirtualHost *:80 *:81> | |
ServerName status.mozilla.org | |
- Redirect / https://status.mozilla.org/ | |
+ | |
+ RewriteEngine On | |
+ RewriteRule ^(.*)$ https://whistlepig.mozilla.org$1 [NC,R=301] | |
</VirtualHost> | |
+<VirtualHost *:80> | |
+ ServerName whistlepig.mozilla.org | |
+ | |
+ RewriteEngine On | |
+ RewriteRule / https://whistlepig.mozilla.org [NC,R=301] | |
+</VirtualHost> | |
+ | |
<VirtualHost *:81> | |
- ServerName status.mozilla.org | |
+ ServerName whistlepig.mozilla.org | |
DocumentRoot /data/www/status.mozilla.org/WhistlePig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment