Hi all,
we are having an annoying problem with file attachments. Here is what happens
1) The attach process itself runs smoothly, and the uploaded files are nicely put into wp-content/blogs.dir/and/so/on
2) The uploaded files are *not* accessible through urls in the form wp-content/blogs.dir/and/so/on
3) They are *not* accessible through the permalinks either (mySite.org/aBlog/files/and/so/on)
4) my .htaccess is
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]
and if I comment out the two lines involving "files", then problem 2) disappears, while of course I still have problem 3).
I guess 1) plus 4) means that it must be some weird rewrite issue, and the permissions in wp-content are actually fine.
Unfortunately I am no apache expert...
Is there anybody willing to suggest some fix?
Thanks in advance,
Andrea.
PS: sorry about the "and/so/on", if you need more details just ask and I'll post them
PPS:
$wp_version = '2.3.3';
$wpmu_version = '1.3.3';
$wp_db_version = 6124;