From bba9d6b3909886ccb01995aa3cd613c5ca325fc7 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <ericrasmussen1@gmail.com> Date: Sat, 15 Feb 2014 08:20:07 -0600 Subject: [PATCH] Only redirect the root if the host is www.unl.edu --- .htaccess.root | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess.root b/.htaccess.root index c3cdcc82..8b192d06 100644 --- a/.htaccess.root +++ b/.htaccess.root @@ -19,6 +19,7 @@ RewriteCond %{REMOTE_HOST} ^216\.128\.(20[8-9]|21[0-9]|22[0-3])\. RewriteRule .* - [E=UNL_CAMPUS:on] RewriteCond %{ENV:UNL_CAMPUS} on +RewriteCond %{HTTP_HOST} ^www.unl.edu$ RewriteCond %{REQUEST_URI} ^/$ [OR] RewriteCond %{REQUEST_URI} ^/index.shtml$ RewriteRule (.*) http://news.unl.edu/newsrooms/unltoday/ [R=302,L] -- GitLab