Skip to content
Snippets Groups Projects
Commit befb77a3 authored by Kevin Abel's avatar Kevin Abel
Browse files

Fix problems with ENV not being checked or inherited

parent 7da96497
Branches
Tags
No related merge requests found
AddType 'text/html; charset=UTF-8' shtml AddType 'text/html; charset=UTF-8' shtml
RewriteEngine On RewriteEngine On
RewriteOptions inherit
RewriteRule ^news/$ http://newsroom.unl.edu/ [R=301] RewriteRule ^news/$ http://newsroom.unl.edu/ [R=301]
RewriteRule ^international/$ http://international.unl.edu/ [R=301] RewriteRule ^international/$ http://international.unl.edu/ [R=301]
RewriteRule ^foodfuelwaterphotocontest/$ http://innovate.unl.edu/photocontest/ [R=301] RewriteRule ^foodfuelwaterphotocontest/$ http://innovate.unl.edu/photocontest/ [R=301]
......
...@@ -18,7 +18,7 @@ RewriteCond %{REMOTE_HOST} ^64\.39\.(24[0-9]|25[0-5])\. [OR] ...@@ -18,7 +18,7 @@ RewriteCond %{REMOTE_HOST} ^64\.39\.(24[0-9]|25[0-5])\. [OR]
RewriteCond %{REMOTE_HOST} ^216\.128\.(20[8-9]|21[0-9]|22[0-3])\. RewriteCond %{REMOTE_HOST} ^216\.128\.(20[8-9]|21[0-9]|22[0-3])\.
RewriteRule .* - [E=UNL_CAMPUS:on] RewriteRule .* - [E=UNL_CAMPUS:on]
RewriteCond ${ENV:UNL_CAMPUS} on RewriteCond %{ENV:UNL_CAMPUS} on
RewriteCond %{REQUEST_URI} ^/$ [OR] RewriteCond %{REQUEST_URI} ^/$ [OR]
RewriteCond %{REQUEST_URI} ^/index.shtml$ RewriteCond %{REQUEST_URI} ^/index.shtml$
RewriteRule (.*) http://news.unl.edu/newsrooms/unltoday/ [R=302,L] RewriteRule (.*) http://news.unl.edu/newsrooms/unltoday/ [R=302,L]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment