[wp-trac] [WordPress Trac] #15083: Apache rewrite loop on subdirectory install

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 12 21:52:43 UTC 2010


#15083: Apache rewrite loop on subdirectory install
--------------------------+-------------------------------------------------
 Reporter:  wpmuguru      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:                 
 Severity:  normal        |    Keywords:  has-patch      
--------------------------+-------------------------------------------------

Comment(by wpmuguru):

 Replying to [comment:3 hakre]:
 > I smells like the ? is needed for the /. And then while taking a look in
 the code: What about the uploaded files? Don't they have the same pattern
 that you're about?

 No, the ? is not needed for the /. The rewrite base is / (or /path-to-wp-
 install/), so in /subsite/wp-content/... what is being rewritten is
 subsite/wp-content/...

 In contrast, the /files rewrite has to be processed whether or not there
 is a leading subsite path which is why I did not change it.

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


More information about the wp-trac mailing list