[wp-trac] Re: [WordPress Trac] #2628: wordpress broken under apache mod_fastcgi with php ran as a cgi

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 3 12:25:28 GMT 2006


#2628: wordpress broken under apache mod_fastcgi with php ran as a cgi
-----------------------+----------------------------------------------------
       Id:  2628       |      Status:  new                     
Component:  General    |    Modified:  Mon Apr  3 12:25:28 2006
 Severity:  normal     |   Milestone:  2.0.2                   
 Priority:  normal     |     Version:  2.0.2                   
    Owner:  anonymous  |    Reporter:  scruby                  
-----------------------+----------------------------------------------------
Comment (by scruby):

 I need to add something to this:

 http://bugs.php.net/bug.php?id=36705 rears its ugly head in several
 places.  There's no reason in the world to send a header_status(200) in
 classes.php function handle_404. If you send nothing, php will assume you
 mean 200 by default.  On the other hand, if you send status_header(200),
 then send header("Location: . . . ") you'll end up sending an extra
 Status: 302 header, and fastcgi will have an internal server error again.
 This breaks stuff like a click on the trackback link.  So, in addition to
 the change mentioned above, you need to take out the status_header( 200 );
 from classes.php


 There's no point in doing status_header(200) anyway.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2628>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list