[wp-trac] Re: [WordPress Trac] #7208: Problem with Nginx?

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 30 03:19:26 GMT 2008


#7208: Problem with Nginx?
-----------------------+----------------------------------------------------
 Reporter:  drhallows  |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  normal     |    Milestone:  2.7      
Component:  General    |      Version:  2.6      
 Severity:  normal     |   Resolution:           
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by DD32):

 You can try commenting out the offending line, If that works, You can
 either keep it running like that with the modification made, Or you can
 copy the wp_redirect() function into a plugin and modify it there.

 Chances are, It wont work and will instead produce a 500 error. It appears
 to be a bug in PHP when used as FastCGI; google "fastcgi php 301" and
 you'll find realted articles.

 Your only other option to get a 301 redirect would probably be to change
 from the PHP FastCGI module to something else.

 Suggest cosing as wontfix due to it being a workaround for PHP which is
 required for compatibility.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7208#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list