[wp-trac] [WordPress Trac] #7361: Fixes for wp-app with PHP-CGI

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 8 03:59:39 UTC 2009


#7361: Fixes for wp-app with PHP-CGI
--------------------------+-------------------------------------------------
 Reporter:  yonosoytu     |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  reopened 
 Priority:  normal        |    Milestone:  2.9      
Component:  AtomPub       |      Version:  2.9      
 Severity:  normal        |   Resolution:           
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by tenpura):

  * keywords:  needs-info => has-patch
  * version:  2.8 => 2.9
  * milestone:  Future Release => 2.9


Comment:

 westi,

 '''Remaining issue:'''[[BR]]
 When running !WordPress on a server with PHP as CGI, the HTTP status
 header will not be correctly set.[[BR]]
 (Recent patches are originally about the issue of #8226. I know it is
 confusing.)

 '''How to reproduce it:'''[[BR]]
 1. Run !WordPress on a server with PHP as CGI.[[BR]]
 2. Access a page that does not exist so that "404 OK" HTTP status header
 is returned.[[BR]]


 '''Demo:'''[[BR]]
 This URL returns "404 OK".[[BR]]
 http://test.eastcoder.com/wp/trunk/without-the-patch [[BR]]
 This URL returns "404 Not Found" correctly with the actual patch.[[BR]]
 http://test.eastcoder.com/wp/trunk/with-the-patch

 I hope this is a good enough explanation.

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


More information about the wp-trac mailing list