Two domains and two languages for one site using ez Publish

I want to use Polish language for polish address (.pl) and English version for European address (.eu).

First I've configured web server (apache) to both adresses use same DocumentRoot. I've setup eZ using one of the addresses. Then in settings/override/site.ini.append.php file I've changed in SiteAccessSettings section:

MatchOrder=uri

to

MatchOrder=uri;host
HostMatchType=map

and I've added

HostMatchMapItems[]=www.stona1.pl;pol
HostMatchMapItems[]=www.strona2.eu;eng

now default language depends on address one use to access site.

Kommentare

Bitte melden Sie sich Logan oder registrieren Sie sich um kommentieren zu können.

Just my blog...

Mon Di Mi Do Fr Sa So
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
eZ Publish™ copyright © 1999-2025 eZ Systems AS