Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
psvg.doc.ic.ac.uk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xr119
psvg.doc.ic.ac.uk
Commits
8b372039
Commit
8b372039
authored
8 years ago
by
Thomas Wood
Browse files
Options
Downloads
Patches
Plain Diff
htaccess: forward -dev subdomains over to the psvg-dev
parent
471c6ec4
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.htaccess
+15
-6
15 additions, 6 deletions
.htaccess
with
15 additions
and
6 deletions
.htaccess
+
15
−
6
View file @
8b372039
CheckSpelling
Off
RewriteEngine
on
RewriteCond
%{HTTP_HOST} =www-rw.doc.ic.ac.uk [OR]
RewriteCond
%{HTTP_HOST} =www-rw-dev.doc.ic.ac.uk
# Rewrite former site subdomain pages to new site pages
RewriteCond
%{HTTP_HOST} =www-rw.doc.ic.ac.uk
RewriteRule
. http://psvg.doc.ic.ac.uk/research/javascript.html [R=301,L]
RewriteCond
%{HTTP_HOST} =www-lrr.doc.ic.ac.uk [OR]
RewriteCond
%{HTTP_HOST} =www-lrr-dev.doc.ic.ac.uk
RewriteCond
%{HTTP_HOST} =www-lrr.doc.ic.ac.uk
RewriteRule
^papers.html http://psvg.doc.ic.ac.uk/publications/ [R=301,L]
RewriteCond
%{HTTP_HOST} =www-lrr.doc.ic.ac.uk [OR]
RewriteCond
%{HTTP_HOST} =www-lrr-dev.doc.ic.ac.uk
RewriteCond
%{HTTP_HOST} =www-lrr.doc.ic.ac.uk
RewriteRule
^ca($|/) http://psvg.doc.ic.ac.uk/research/concurrency.html [R=301,L]
# And for -dev subdomains for testing purposes
RewriteCond
%{HTTP_HOST} =www-rw-dev.doc.ic.ac.uk
RewriteRule
. http://psvg-dev.doc.ic.ac.uk/research/javascript.html [R=301,L]
RewriteCond
%{HTTP_HOST} =www-lrr-dev.doc.ic.ac.uk
RewriteRule
^papers.html http://psvg-dev.doc.ic.ac.uk/publications/ [R=301,L]
RewriteCond
%{HTTP_HOST} =www-lrr-dev.doc.ic.ac.uk
RewriteRule
^ca($|/) http://psvg-dev.doc.ic.ac.uk/research/concurrency.html [R=301,L]
# Bump any other subdomain request that gets here over to the main psvg site
RewriteCond
%{HTTP_HOST} !=psvg.doc.ic.ac.uk
RewriteCond
%{HTTP_HOST} !=psvg-dev.doc.ic.ac.uk
RewriteCond
%{HTTP_HOST} !=www-rr-dev.doc.ic.ac.uk
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment