Skip to content

Instantly share code, notes, and snippets.

@cturra
Created October 3, 2014 19:21
Show Gist options
  • Save cturra/5b89e39ba97db20205cc to your computer and use it in GitHub Desktop.
Save cturra/5b89e39ba97db20205cc to your computer and use it in GitHub Desktop.
$ svn diff
Index: modules/webapp/files/genericrhel6/etc-httpd/domains/blog.mozilla.org.conf
===================================================================
--- modules/webapp/files/genericrhel6/etc-httpd/domains/blog.mozilla.org.conf (revision 94202)
+++ modules/webapp/files/genericrhel6/etc-httpd/domains/blog.mozilla.org.conf (working copy)
@@ -35,6 +35,14 @@
# Should be no need for a separate vhost block for :81 now
SetEnvIf SSLSessionID .+ HTTPS=on
+
+ RewriteEngine On
+
+ # bug 1067616
+ RewriteCond %{SERVER_NAME} openstandard\.mozilla\.org
+ RewriteCond %{HTTPS} !=on
+ RewriteRule (.*) https://openstandard.mozilla.org$1 [R=301,L]
+
# Added for Bug - 544613 by Shyam
Redirect /evangelism http://hacks.mozilla.org/
Redirect permanent /userresearch http://blog.mozilla.org/ux
@@ -86,7 +94,6 @@
</FilesMatch>
# bug 773758
- RewriteEngine On
RewriteRule ^\/UX\/*$ /ux/ [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment