The MU forums have moved to WordPress.org

rewrite issu to uploaded files (3 posts)

  1. Coach_O
    Member
    Posted 16 years ago #

    ( latest wpmu)
    searchd all over like crazy
    and i cant find anything that works

    The files are uploaded to
    wp-content/blogs.dir/xx/files/

    i can ftp and see the files

    but as soon as I insert them in a post i get a smal image with a broken link

    mod_rewrite in apache and readfile() i php is active on the server

    my htaccess looks like this
    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php? [L]
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    if i try to surf to the image:
    "The requested URL /coacholofsson/files/b2.jpg was not found on this server. "

    i just moved from one host to an other
    at the old host it worked normal
    (same domain name, just moved it all)
    plz help :)

  2. Coach_O
    Member
    Posted 16 years ago #

    I can add that no links seem to work even that the file is there
    ( opens in ftp)

    http://basketscenen.se/wp-content/blogs.dir/14/files/b1-150x150.jpg
    The requested URL /wp-content/blogs.dir/14/files/b1-150x150.jpg was not found on this server.

    http://basketscenen.se/coacholofsson/files/b1-150x150
    The requested URL /coacholofsson/files/b1-150x150.jpg was not found on this server.

  3. Coach_O
    Member
    Posted 16 years ago #

    i dosnt show theme images either
    /wp-content/themes/arclite/images/header-center.jpg

About this Topic