diff options
author | Leif Johansson <leifj@sunet.se> | 2017-05-16 10:07:00 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2017-05-16 10:07:00 +0200 |
commit | ab0d4dad2c261cc70241fb08f25f8f312237fa6f (patch) | |
tree | 68dfe0c8824c761e0a86b02302ab0735f42f96ee | |
parent | 77b39a6b786132c8b31604d9f0305d131bb6b014 (diff) |
update to override old site with redirect to mds
-rwxr-xr-x | scripts/update-cron.sh | 6 | ||||
-rw-r--r-- | site/md.swamid.se/.htaccess | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/scripts/update-cron.sh b/scripts/update-cron.sh index 69ed492d..a3c1d13d 100755 --- a/scripts/update-cron.sh +++ b/scripts/update-cron.sh @@ -10,9 +10,9 @@ update() make aggregate || return $? echo - #echo "make (2007)" - #env SWAMID_MK_CONFIG=swamid2007.mk make || return $? - #echo + echo "make (2007) web site for backwards compat" + env SWAMID_MK_CONFIG=swamid2007.mk make web || return $? + echo echo "make (2016)" env SWAMID_MK_CONFIG=swamid2016.mk make || return $? diff --git a/site/md.swamid.se/.htaccess b/site/md.swamid.se/.htaccess new file mode 100644 index 00000000..4c7de8a4 --- /dev/null +++ b/site/md.swamid.se/.htaccess @@ -0,0 +1,3 @@ +RewriteEngine on +RewriteCond %{HTTP_HOST} ^md.swamid.se [NC] +RewriteRule ^(.*)$ http://mds.swamid.se/$1 [L,R=301,NC] |