Forums / General / Strange siteaccess problem

Strange siteaccess problem

Author Message

Nebojsa Eric

Wednesday 21 March 2007 10:23:48 am

Hi to all.

eZ version: 3.9.1
Platform: Fedora Core 2

I've started building web site normally with a plain interface (from scratch). Siteaccess is plain_site by default. I've created some folders and articles and everything worked fine. Then I've started to follow this article

http://ez.no/community/articles/new_features_in_ez_publish_3_8/translating_and_displaying_multi_lingual_content

to implement multilanguage with 3 different site accesses on the web site and I've ended up with the following problem. I can access an URL from a browser, for example, www.mywebsite.com/gb and everything is working fine, debug output doesn't complaining, but admin interface still shows plain_site as a siteaccess setting every time I try to override something. None of my defined siteaccess are shown. Only plain_site and site_admin. I've tried everything exactly the same way on my Windows XP and everything is OK. I've checked all site.ini.append.php (override and siteaccess) files for, at least, 3 times to be sure that I didn't missed something, but I did not.

I've also tried to clear cache 10 times -> nothing happens.
Manually delete cache files -> nothing happens.

I repeat, completelly the same configuration works perfectly on my Windows XP.

These are configuration settings in the overriden site.ini.append.php file:

[SiteSettings]
DefaultAccess=gb
SiteList[]=gb
SiteList[]=hr
SiteList[]=sr

[SiteAccessSettings]
MatchOrder=uri
URIMatchType=element
URIMatchElement=1
URIMatchRegexp=^/([^/]+)/
URIMatchRegexpItem=1
CheckValidity=false
AvailableSiteAccessList[]=gb
AvailableSiteAccessList[]=hr
AvailableSiteAccessList[]=sr
AvailableSiteAccessList[]=site_admin
HostMatchMapItems[]

No plain_site in the AvailableSiteAccessList[] as you can see.

Any ideas?
Tnx.