[wp-trac] [WordPress Trac] #13164: 'Older posts' broken with IIS and Permalinks enabled

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 16 09:37:40 UTC 2010


#13164: 'Older posts' broken with IIS and Permalinks enabled
-----------------------------+----------------------------------------------
 Reporter:  thushanfernando  |       Owner:  ryan           
     Type:  defect (bug)     |      Status:  new            
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Permalinks       |     Version:                 
 Severity:  normal           |    Keywords:  iis-support    
-----------------------------+----------------------------------------------

Comment(by blogurc):

 It appears that the Index.php setting is coming from Plesk's setup of IIS.
 We are using Plesk 9.0.1, which sets up a number of Default Documents when
 creating a site in IIS.

 I created a test directory with an index.php file calling phpinfo().  The
 system uses the value of the Default Document (set within IIS
 Manager->Sites->example.com->IIS->Default Document).  If the system is set
 up with Index.php amongst the default documents, then it returns "_SERVER[
 "REQUEST_URI" ]   /test/Index.php?s=gospel", if it is set up with
 index.php, then it returns "_SERVER[ "REQUEST_URI" ]
 /test/index.php?s=gospel".  The value returned is dependent on the Default
 Document value, and independent of the case of the filename (index.php or
 Index.php).

 I'd suggest this be fixed to cope with users (or software such as Plesk)
 setting up IIS with a Default Document in the wrong case.

 As an aside, I don't know how the function _wp_filter_taxonomy_base (in
 wp-includes/reqrite.php) is used, but that also seems to have a case-
 dependent line: $base = preg_replace( '|^/index\.php/|', '', $base );

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


More information about the wp-trac mailing list