Created
October 10, 2012 05:52
-
-
Save cwebberOps/3863404 to your computer and use it in GitHub Desktop.
Rewrite all the things!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
# Cellwall redirect for urls in publications | |
RewriteCond %{REQUEST_URI} ^/projects/Cellwall.* | |
RewriteRule ^/projects/Cellwall(.*)$ http://bioweb.ucr.edu/Cellwall$1 [L] | |
# GCD redirect for urls in publication | |
RewriteCond %{REQUEST_URI} ^/projects/GCD.* | |
RewriteRule ^/projects/GCD(.*)$ http://bioweb.ucr.edu/databaseWeb$1 [L] | |
RewriteCond %{REQUEST_URI} !^/\~.* | |
RewriteCond %{REQUEST_URI} !^/icons* | |
RewriteCond %{REQUEST_URI} !^/favicon.ico | |
RewriteRule ^(.*)$ http://www.bioinformatics.ucr.edu$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment