Skip to content
Snippets Groups Projects
Commit 1f570d4b authored by Thomas Wood's avatar Thomas Wood
Browse files

Rename git repository from www-rw to psvg

Also put in permanent redirects for www-rw.doc.ic.ac.uk

Closes #4
parent 8fe1620e
No related branches found
No related tags found
No related merge requests found
CheckSpelling Off
RewriteEngine on
RewriteCond %{HTTP_HOST} !=psvg.doc.ic.ac.uk
RewriteRule ^(.*)$ http://psvg.doc.ic.ac.uk/$1 [R=301]
ErrorDocument 404 /404.html ErrorDocument 404 /404.html
...@@ -7,7 +7,7 @@ Program Specification & Verification Group Website: http://psvg.doc.ic.ac.uk/ ...@@ -7,7 +7,7 @@ Program Specification & Verification Group Website: http://psvg.doc.ic.ac.uk/
[![Dependency Status](https://gemnasium.com/bd81b2aa11ff43417700f75dbd194221.svg)](https://gemnasium.com/6ba7afbbfda9adcba06f007cc565a29a) [![Dependency Status](https://gemnasium.com/bd81b2aa11ff43417700f75dbd194221.svg)](https://gemnasium.com/6ba7afbbfda9adcba06f007cc565a29a)
The source code for [this site](http://psvg.doc.ic.ac.uk) is [hosted on the DoC GitLab server](https://gitlab.doc.ic.ac.uk/resource-reasoning/www-rw.doc.ic.ac.uk), The source code for [this site](http://psvg.doc.ic.ac.uk) is [hosted on the DoC GitLab server](https://gitlab.doc.ic.ac.uk/resource-reasoning/psvg.doc.ic.ac.uk),
you should have access to edit it if a member of the resource-reasoning group. you should have access to edit it if a member of the resource-reasoning group.
**DO NOT EDIT THE SOURCE CODE IN `/vol/rr/www`, IT IS ALL REPLACED EACH TIME THE SITE IS REBUILT FROM VERSION CONTROL** **DO NOT EDIT THE SOURCE CODE IN `/vol/rr/www`, IT IS ALL REPLACED EACH TIME THE SITE IS REBUILT FROM VERSION CONTROL**
......
...@@ -15,8 +15,9 @@ RewriteBase /ci/ ...@@ -15,8 +15,9 @@ RewriteBase /ci/
RewriteRule ^([^/]+)$ $1/ [R,L] RewriteRule ^([^/]+)$ $1/ [R,L]
# Force to HTTPS # Force to HTTPS
RewriteCond %{HTTPS} =off RewriteCond %{HTTPS} =off [OR]
RewriteRule ^(.*)$ https://www-rw.doc.ic.ac.uk/ci/$1 [R=301,L] RewriteCond %{HTTP_HOST} !=psvg.doc.ic.ac.uk
RewriteRule ^(.*)$ https://psvg.doc.ic.ac.uk/ci/$1 [R=301,L]
# Proxy through to the internal server # Proxy through to the internal server
RewriteRule ^(.*)$ https://146.169.46.217/ci/$1 [P] RewriteRule ^(.*)$ https://146.169.46.217/ci/$1 [P]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment