[wp-trac] [WordPress Trac] #13021: Function got_mod_rewrite brakes nginx, lightttpd, cherokee rewrite rules (causes infinite loop redirection)

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 16 08:13:20 UTC 2010


#13021: Function got_mod_rewrite brakes nginx, lightttpd, cherokee rewrite rules
(causes infinite loop redirection)
--------------------------+-------------------------------------------------
 Reporter:  dz0ny         |       Owner:  ryan             
     Type:  defect (bug)  |      Status:  new              
 Priority:  high          |   Milestone:  3.0              
Component:  Permalinks    |     Version:  3.0              
 Severity:  major         |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by dz0ny):

 Possibly also fixes http://core.trac.wordpress.org/ticket/12973,
 http://core.trac.wordpress.org/ticket/12255.

 Clarification about infinite loop. If someone uses
 {{{
 rewrite ^(.+)$ /index.php?q=$1 last;
 }}}

 the Wordpress generated URL would be somesite.tld/index.php/about which
 would causes browser infinite loop.

 I'am also writing better patch, to detect servers and offer user option to
 choose whether he is using custom rewrite rules.

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


More information about the wp-trac mailing list