[wp-trac] [WordPress Trac] #14016: Files directory inaccessible in MS upgrade from MU in blogs.dir/1/files.

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 21 03:52:39 UTC 2010


#14016: Files directory inaccessible in MS upgrade from MU in blogs.dir/1/files.
--------------------------+-------------------------------------------------
 Reporter:  memitch08     |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  3.0       
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 I upgraded my WPMU sites to WP 3.0 RC1 - and updated nightly builds till
 the release of 3.0.  With the auto upgrade of 3.0 - my url path to my
 files became inaccessible.  Namely - blogs.dir/#/files.  The issue is
 limited to the word "files".

 I have .htaccess configured for re-write as:

 {{{
 # uploaded files
 RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2
 [L]
 }}}

 I have tried to disable plugins, added Wordpress to WordPress filter
 plugin, manully upgrade - all to no avail.

 I checked permissions on the folder, and my host says that the ownership
 of the directory is consistent with the other directories.  The files are
 available through FTP access - but when putting the path to the file/image
 url in the browser - the WP 404 page appears.

 This has happenned on all (3) of my WP upgrades.

 Also - it should be noted that adding new files through image upload -
 shows the file name in the media library - but when I try to access the
 file I get the 404 page - so it is not isolated to old files.

 See example:
 If I put the file in the blogs.dir directory without any subdirectories
 then the file is accessible.

 See here: http://hanover4square.org/wp-content/blogs.dir/4sqlogo.jpg

 It is still fine here: http://hanover4square.org/wp-
 content/blogs.dir/1/4sqlogo.jpg

 But if I move the same file to the files sub-directory within blogs.dir it
 is not accessible?

 See here: http://hanover4square.org/wp-
 content/blogs.dir/1/files/4sqlogo.jpg

 But if I create a sub-directory called file1 the file is accessible?

 See here: http://hanover4square.org/wp-
 content/blogs.dir/1/file1/4sqlogo.jpg

 To magically redirect it would be:
 http://hanover4square.org/files/4sqlogo.jpg

 But that returns a 404 too.

 Please advise.

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


More information about the wp-trac mailing list