WordPress should not sniff servers by name
|Reported by:||filosofo||Owned by:||filosofo|
In wp-includes/vars.php WordPress sets the global variable $is_apache according to the $_SERVER['SERVER_SOFTWARE'] string.
I think a general solution would be to test for the desired behavior that we want. For example, $is_apache is used in two places: the permalink options page and the apache_mod_loaded() function. For the latter, we should be able just to strip out the $is_apache check. For the permalinks options page, couldn't we use apache_mod_loaded() itself?
Change History (6)
- Component changed from General to Permalinks
- Type changed from defect (bug) to enhancement