Monday 22 June 2009 3:17:37 pm
I am new to eZ Publish. I installed it with the Plain Site and with the URI acces method, which is recommended. The URL I used was, let us say, sub.domain.tld. Then, I created a new siteaccess "sub" and configured it in the override/site.ini.append.php as the default site. All goes well: the URL http://sub.domain.tld/ no longer leads to the plain_ site_user, but to the "sub" site. Then, I created a new siteaccess "www" with the URL "www.domain.tld". And now comes the problem: although "www" has another URL then "sub", with the URL http://www.domain.tld, eZ Publish still shows the site "sub". So eZ Publish seems to take into account only the domain and top level domain in the URL, but not the subdomain. The only way to solve the problem I have found until now is to switch to the host access method, as then, there is no default site.
|