[wpmu-trac] [WordPress MU Trac] #1125: Support for X-Sendfile and X-Accel-Redirect in wp-content/blogs.php

WordPress MU Trac wpmu-trac at lists.automattic.com
Fri Nov 27 08:19:15 UTC 2009


#1125: Support for X-Sendfile and X-Accel-Redirect in wp-content/blogs.php
-------------------------+--------------------------------------------------
 Reporter:  jdub         |        Owner:  somebody
     Type:  enhancement  |       Status:  closed  
 Priority:  normal       |    Milestone:          
Component:  General      |      Version:          
 Severity:  normal       |   Resolution:  fixed   
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Changes (by rahul286):

 * cc: rahul286 (added)


Comment:

 I am trying to get "X-Accel-Redirect" working on my ngnix.
 I added codes in blogs.php.
 I also defined 'WPMU_ACCEL_REDIRECT' as 'true'.

 After that I ended in 500 errors.

 Then I found thi article
 [http://tremblefrog.org/blog/2009/04/03/a_wpmu_hack_to_substitute_php_for_nginx_processing_static_files/
 written in chinese] ([http://bit.ly/89ei5Z english translation]) - I found
 reason of 500 error to be "redirect loop".
 I followed that bloggers advise and code and now ended up in 404 errors.

 This change-set need to be have some "readme.txt" or other kind of
 documentation since "X-Accel-Redirect" cannot be made to work without
 ngnix-server side config.
 I think I need to have something in ngnix conf files but I failed to
 figure it out.

 I could not come out of series of 404 and 500 errors.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1125#comment:3>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list