[wp-trac] [WordPress Trac] #10458: lighttpd/1.4.22 does not populate _REQUEST['action'] for wp-login.php

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 15 10:26:24 UTC 2010


#10458: lighttpd/1.4.22 does not populate _REQUEST['action'] for wp-login.php
--------------------------+-------------------------------------------------
 Reporter:  myrond        |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:          
Component:  General       |      Version:  2.8     
 Severity:  normal        |   Resolution:          
 Keywords:  close         |  
--------------------------+-------------------------------------------------

Comment(by myrond):

 Every version of PHP I tried actually;  I think the bug is actually in
 lighttpd (I've tried all versions from 1.4.19-1.4.22)  I tried this on
 several pieces of hardware on gentoo/ubuntu and debian both stable and
 unstable and all of them exhibited this behavior.

 As soon as I disabled the rewrite rules _GET became populated, and
 everything started working.

 Thankfully I applied the fix I mentioned earlier and everything has gone
 smoothly for a long time.

 Rewrite rules currently applied as follows
 {{{
 url.rewrite-once = (
 "^/(wiki|wp-admin|wp-includes|wp-content|storage)/(.*)" => "$0",
 "^/wp-admin$" => "$0",
 "^/(sitemap\.xml|sitemap\.xml\.gz)" => "$0",
 "^/(.*\.php)" => "$0",
 "^/(.*)$" => "/index.php/$1"
 )
 }}}

 php versions that I am running that exhibit this bug with lighttpd (bug
 AGAIN I believe it is the interaction between lighttpd rewrite and the
 backend fastCGI process as bug goes away as soon as I disable the
 rewrites), this bug may exist in fastCGI with perl/python or other
 languages as well in its interaction with lighttpd's mod_rewrite.

 PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 26 2009
 22:16:23)
 PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 22 2009
 02:38:03)
 PHP 5.2.8-pl2-gentoo with Suhosin-Patch 0.9.6.3 (cli) (built: Mar 22 2009
 19:50:39)
 PHP 5.2.9-pl2-gentoo with Suhosin-Patch 0.9.7 (cli) (built: Apr 23 2009
 16:27:40)

 (sorry if I haven't updated in a while!!)

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


More information about the wp-trac mailing list