[wp-trac] [WordPress Trac] #11994: Rewrite rules cause some URLs to fail

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 25 03:07:32 UTC 2010


#11994: Rewrite rules cause some URLs to fail
--------------------------+-------------------------------------------------
 Reporter:  wpmuguru      |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Multisite     |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
Description changed by wpmuguru:

Old description:

> From MU Trac, Ticket #215 http://trac.mu.wordpress.org/ticket/215
>

>
> The following lines are not necessary with a vhost install and $base =
> '/' :
>
> RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
> RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
>
> They could conduct to an infinite rewrite loop and lead the web server to
> a 500 error.

New description:

 MU Trac Ticket: http://trac.mu.wordpress.org/ticket/215


 The following lines are not necessary with a vhost install and $base = '/'
 :

 RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
 RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]

 They could conduct to an infinite rewrite loop and lead the web server to
 a 500 error.

--

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


More information about the wp-trac mailing list