Possible mistakes:
Are you using different var dir's for the different siteaccesses? (when siteaccesses share content they should use same var folder) Or is there something wrong with the virtualhost matching rules maybe, so that Apache does not handle the var/admin path correctly.
Yes, I'm using different var dir's for the different siteaccesses. But that's because the sites don't share content.
I've checked the virtualhost matching rules, and they are correct. I found a solution that I can live with. The problem was that uploaded files to the Media Library was stored in the var/storage directory under the var/admin folder. This meant that you had to access the admin siteaccess to download the files (when used as links in articles etc). In the site.ini.append.php file in the admin siteaccess, i just added the following line:
[SiteAccessSettings]
AnonymousAccessList[]=content/download
This solved my problem perfectly. The files are still stored under admin's var directory, but that I can live with :)
You must be logged in to post messages in this topic!