[wp-trac] Re: [WordPress Trac] #5682: Clean permalinks and mod_rewrite support for IIS

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 15 21:49:28 GMT 2009


#5682: Clean permalinks and mod_rewrite support for IIS
--------------------------+-------------------------------------------------
 Reporter:  man999        |       Owner:  ryan       
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  2.8.1      
Component:  Permalinks    |     Version:  2.5        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch commit => needs-patch


Comment:

 ah, that is a much better point. needs another patch then. :-|

 @peaceablewhale: what does the $_SERVER[SERVER_SOFTWARE] look like? a
 regexp sounds in order then, as in:

 preg_match("/^Microsoft-IIS\/(\d+(?:\.\d+)?)/", ...

 note the anchor at the beginning (^). Without it, preg_match won't scale.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/5682#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list