Forums / Install & configuration / Media library & Subdomains

Media library & Subdomains

Author Message

Michael Loibl

Thursday 05 May 2011 12:26:42 am

Hi @ all,

it is possible to access the Media library from a subdomain?

My problem:

http://www.mydomain.tld/Media/Images/Logos/company-logo = display image

http://blog.mydomain.tld/Media/Images/Logos/company-logo = Module not found

Can anyone help please?!

Quoc Huy Nguyen Dinh

Thursday 05 May 2011 2:48:56 am

Can you please post your MatchOrder and HostMatchMapItems values from settings/override/site.ini.append.php?

Michael Loibl

Thursday 05 May 2011 3:04:50 am

it looks like:

MatchOrder=uri;host
HostMatchMapItems[]=admin.mydomain.tld;mydomain_admin
HostMatchMapItems[]=www.mydomain.tld;mydomain_site
HostMatchMapItems[]=blog.mydomain.tld;mydomain_blog

Quoc Huy Nguyen Dinh

Thursday 05 May 2011 5:29:06 am

Have you used PathPrefix in the site.ini.append.php file for your mydomain_blog siteaccess ?

If yes then you might want to also set:

PathPrefixExclude[]=media
PathPrefixExclude[]=users

Michael Loibl

Thursday 05 May 2011 5:56:20 am

thanks a lot - it works perfectly...!

Quoc Huy Nguyen Dinh

Thursday 05 May 2011 7:44:34 am

Excellent!