Multisite and Domain mapping media upload issue
When using the media uploader (browser and flash) domain mapping appears to be interfering with the rewrites that multisite uses for /files.
subdomain.domain.com/files gets redirected to http://www.subdomain.com/files. That returns a 404 since its trying to load a page rather than getting redirect to the sites folder in blogs.dir.
I'm in the process of upgrading the version of WordPress used, but cannot finish that until I've completed testing it against our internal WordPress plugins.
I would like to know if this behavior is normal when using multisite and domain mapping together and if there is a simple fix that I can put into place before doing the WordPress upgrade.
then several sites as subdomains
site options (using aaa.domain.com as example blogID of 2)
Upload Path wp-content/blogs.dir/2/files
Fileupload Url http://aaa.domain.com/files
aaa.domain.com mapped to aaa.com, with aaa.com as primary
bbb.domain.com mapped to bbb.com, with bbb.com as primary
ccc.domain.com mapped to ccc.com, with ccc.com as primary
User domain mapping page
Redirect administration pages to site's original domain
vhost for each site (domain.com, aaa.domain.com, bbb.domain.com, ccc.domain.com)
servername is site name
serveralias for any domains the site is mapped to
htdocs for subdomains (aaa.domain.com, bbb.domain.com, ccc.domain.com) is a symlink back to domain.com's htdoc.