Commit c1f0050d authored by arildb's avatar arildb

[MOD] Replacing rewrite rules with a routing file for IIS ref r44661

[FIX] Make rewrite routing work on IIS
parent dfd97c52
......@@ -179,8 +179,10 @@ case 'apache2handler':
default:
if (isset($_SERVER['SCRIPT_URL'])) {
$full = $_SERVER['SCRIPT_URL'];
} elseif ($_SERVER['REDIRECT_URL']) {
} elseif (isset($_SERVER['REDIRECT_URL'])) {
$full = $_SERVER['REDIRECT_URL'];
} elseif (isset($_SERVER['UNENCODED_URL'])) { // For IIS
$full = $_SERVER['UNENCODED_URL'];
} else {
break;
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment