From 22c917eb65b566dac95751356d54eacd3eb0af04 Mon Sep 17 00:00:00 2001 From: Raymond Yee Date: Fri, 12 Dec 2014 13:47:25 -0800 Subject: [PATCH] let's try redirecting everything --- deploy/just.conf | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/deploy/just.conf b/deploy/just.conf index 2a66f68b..defb5798 100644 --- a/deploy/just.conf +++ b/deploy/just.conf @@ -6,25 +6,7 @@ WSGISocketPrefix /opt/regluit ServerName just.unglue.it ServerAdmin info@gluejar.com -RewriteEngine On -RewriteRule ^/$ https://just.unglue.it/ [R=301] -RewriteRule /admin(.*) https://just.unglue.it/admin$1 [R=301] -RewriteRule /accounts(.*) https://just.unglue.it/accounts$1 [R=301] -RewriteRule /pledge(.*) https://just.unglue.it/pledge$1 [R=301] -RewriteRule /gift(.*) https://just.unglue.it/gift$1 [R=301] - -WSGIDaemonProcess regluit processes=4 threads=4 python-eggs=/tmp/regluit-python-eggs -WSGIScriptAlias / /opt/regluit/deploy/just.wsgi - - - Options Indexes FollowSymLinks - AllowOverride None - - Order allow,deny - Allow from all - - -Alias /static /var/www/static +Redirect permanent / https://just.unglue.it/