summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
23a77ad)
Initial vi(m).shiar.* locations should always give a permanent redirect
to the preferred sheet.shiar.nl (/vi unless specified otherwise).
RewriteEngine on
RewriteBase /
RewriteEngine on
RewriteBase /
+# redirect from old vim-only subdomain
+RewriteCond %{HTTP_HOST} ^vim?\.shiar\.\w+$
+RewriteRule ^(vi(?=m$)|.*) http://sheet.shiar.nl/$1 [R=301]
+
# redirect old location
RewriteRule ^vim$ /vi [R=301]
# redirect old location
RewriteRule ^vim$ /vi [R=301]