let's try redirecting everything

pull/1/head
Raymond Yee 2014-12-12 13:47:25 -08:00
parent 19dd7eadcb
commit 22c917eb65
1 changed files with 1 additions and 19 deletions

View File

@ -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
<Directory /opt/regluit/static>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /static /var/www/static
Redirect permanent / https://just.unglue.it/
</VirtualHost>