[website] Make https for wiki

Andrey Gusev andrey.goosev at gmail.com
Fri Jan 10 08:10:53 CST 2014


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140110/bf034024/attachment.html>
-------------- next part --------------
From 749f1969cf2e3d21b3ad7e861e5b3b98d69071ae Mon Sep 17 00:00:00 2001
Message-Id: <749f1969cf2e3d21b3ad7e861e5b3b98d69071ae.1389362653.git.andrey.goosev at gmail.com>
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Fri, 10 Jan 2014 16:03:57 +0200
Subject: [website] Make https for wiki

This should fix bug http://bugs.winehq.org/show_bug.cgi?id=34443
---
 include/htaccess.sample | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/htaccess.sample b/include/htaccess.sample
index 9d2fcfb..c522cc0 100644
--- a/include/htaccess.sample
+++ b/include/htaccess.sample
@@ -104,6 +104,11 @@ RedirectPermanent /diff                         //source.winehq.org/search
 RedirectMatch ^/wineconf$                       http://wiki.winehq.org/
 RedirectMatch ^/wineconf/$                      http://wiki.winehq.org/
 
+# make https instead of http for wiki
+RedirectMatch ^/wiki(.*)$                       https://wiki.winehq.org$1
+RedirectMatch ^/wiki$                           https://wiki.winehq.org/
+RedirectMatch ^/wiki/$                          https://wiki.winehq.org/
+
 # Enable re-writing of URLs to hide the main script
 RewriteEngine on
 Rewritebase /
-- 
1.8.1.2



More information about the wine-patches mailing list