[wp-trac] [WordPress Trac] #8725: Redirects not working on
Expression Web 2
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 26 12:08:53 GMT 2008
#8725: Redirects not working on Expression Web 2
----------------------------+-----------------------------------------------
Reporter: thomasvsundert | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.7
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
The global variable $is_IIS checks if the server is an IIS server or not.
This has consequences for the way redirects etc. are implemented. The
Expression Web software from Microsoft also uses an IIS-based development
server, but here the value of
<nowiki>$_SERVER['SERVER_SOFTWARE']</nowiki> is 'ExpressionDevServer'.
Since all of the 'hacks' specific to IIS also apply to the Expression Web
server, the check for IIS should also check for it.
{{{
$is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false
||
strpos($_SERVER['SERVER_SOFTWARE'], 'ExpressionDevServer') !== false) ?
true : false;
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/8725>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list