From 72377371d6ab1dfae9bc1d8d2a77d065e3ed676c Mon Sep 17 00:00:00 2001 From: glium337 Date: Tue, 1 Mar 2011 23:29:56 +0100 Subject: [PATCH] added a .htaccess redirect instead of doing it in the script. site seems to work again now --- inside/.htaccess | 3 +++ inside/index.php | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 inside/.htaccess diff --git a/inside/.htaccess b/inside/.htaccess new file mode 100644 index 0000000..8c47bfe --- /dev/null +++ b/inside/.htaccess @@ -0,0 +1,3 @@ +RewriteEngine On +RewriteCond %{SERVER_PORT} 80 +RewriteRule ^(.*)$ https://www.studentersamfundet.no/inside/$1 [R,L] diff --git a/inside/index.php b/inside/index.php index 48e15e4..9c0137c 100644 --- a/inside/index.php +++ b/inside/index.php @@ -1,10 +1,10 @@