diff --git a/.htaccess b/.htaccess index d17195552b31d559811044ffa71fd6c3a812edd2..0ceba6b1af97415fe2befd029543c959fb9ff6db 100644 --- a/.htaccess +++ b/.htaccess @@ -1,8 +1,16 @@ CheckSpelling Off RewriteEngine on +RewriteCond %{HTTP_HOST} =www-rw.doc.ic.ac.uk +RewriteRule . http://psvg.doc.ic.ac.uk/research/javascript.html [R=301,END] + +RewriteCond %{HTTP_HOST} =www-lrr.doc.ic.ac.uk +RewriteRule ^papers.html http://psvg.doc.ic.ac.uk/publications/ [R=301,END] +RewriteCond %{HTTP_HOST} =www-lrr.doc.ic.ac.uk +RewriteRule ^ca($|/) http://psvg.doc.ic.ac.uk/research/concurrency.html [R=301,END] + RewriteCond %{HTTP_HOST} !=psvg.doc.ic.ac.uk RewriteCond %{HTTP_HOST} !=www-rr-dev.doc.ic.ac.uk -RewriteRule ^(.*)$ http://psvg.doc.ic.ac.uk/$1 [R=301] +RewriteRule ^(.*)$ http://psvg.doc.ic.ac.uk/$1 [R=301,END] ErrorDocument 404 /404.html