[wp-trac] [WordPress Trac] #10044: Gears error on a 301 redirect

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 6 03:13:30 GMT 2009


#10044: Gears error on a 301 redirect
--------------------------+-------------------------------------------------
 Reporter:  archon810     |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  2.7.1     
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 A quick error report. Recently I started using a CDN and mod_rewrote all
 image files to 301 redirect to the CDN host with this .htaccess rule in
 Wordpress root:

 {{{
 <IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{HTTP_USER_AGENT} SimpleCDN
 RewriteRule .* - [L]
 RewriteRule (.*\.(gif|jpe?g|png))$
 http://cdn.beerpla.net.lg1x3.simplecdn.net/$1 [R=301,L]
 </IfModule>
 }}}

 I am now trying to enable Gears and it's failing on

 {{{
 Local storage status:  Error: Download of 'http://beerpla.net/wp-
 admin/images/align-center.png' failed, status code 301.
 }}}

 This behavior is expected and Wordpress should just follow the redirect to
 cache the file. There's a chance it's a Gears issue that cannot be
 resolved with Wordpress, in which case I'll submit a bug report to them.

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


More information about the wp-trac mailing list