diff -Naur wordpress.orig/wp-includes/pluggable.php wordpress/wp-includes/pluggable.php --- wordpress.orig/wp-includes/pluggable.php 2008-03-27 22:44:47.000000000 +0000 +++ wordpress/wp-includes/pluggable.php 2008-03-30 22:29:28.000000000 +0000 @@ -681,6 +681,9 @@ $location = wp_sanitize_redirect($location); + if ($location[0] == '/') + $location = get_bloginfo('url') . $location; + if ( $is_IIS ) { header("Refresh: 0;url=$location"); } else { diff -Naur wordpress.orig/wp-includes/vars.php wordpress/wp-includes/vars.php --- wordpress.orig/wp-includes/vars.php 2008-01-04 20:05:07.000000000 +0000 +++ wordpress/wp-includes/vars.php 2008-03-30 22:34:01.000000000 +0000 @@ -58,7 +58,9 @@ * Whether the server software is Apache or something else * @global bool $is_apache */ -$is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false; +$is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || +(strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false) || +(strpos($_SERVER['SERVER_SOFTWARE'], 'IdeaWebServer') !== false)) ? true : false; /** * Whether the server software is IIS or something else