Running WP 3.1.1 with domain mapping and subdomains...
I have a folder on my primary domain named /files
Following the multi-site setup instructions, I have this line in my .htaccess
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
However, with that line active, every effort to reach a PDF in the /files folder returns a 404 error - and an odd 404 in that my theme has a custom 404 error page and it's not that page. The 404 error returned simply says:
404 — File not found.
Putting the file in a folder other than /files (such as /docs) works fine. Commenting out the line allows the PDF to be opened.
Do I need that line? I suppose it is necessary to access files in /wp-content/blogs.dir/#/files ? Is there a way to fix that other than doing a search-replace on the DB and changing all my old links from /files to /fileshurtme?