Wednesday 06 April 2011 1:58:21 am
Hi, I've just recently started developing in eZPublish, and I have now set up a multi-site configuration for a project I'm working on. In my site.ini.append.php file I have set up both URL and Host mapping. That is, I have set up the site as such: MatchOrder=uri;host URIMatchType=map HostMatchType=map URIMatchMapItems[]=admin;admin_site HostMatchMapItems[]=www.site1.com;site1 HostMatchMapItems[]=www.site2.com;site2 My goal with this setting is to have a unified admin interface for both sites. That is, I can access the admin interface by typing the URL www.site1.com/index.php/admin or www.site2.com/index.php/admin. This works like a charm! :) The problem arises when I upload a file to the Media section when in the admin interface. The file then gets stored at the /var/admin/storage/original... folder. This means that when a user is presented with the option to download a file that has been uploaded in the admin interface, they first have to log on to the admin interface!! WE DO NOT WANT TO DO THAT! Any ideas?
|