How to create multiple multilingual sites in one install?

How to create multiple multilingual sites in one install?

Friday 13 January 2006 2:30:01 am - 2 replies

Author Message

Montse Ortega

Friday 26 February 2010 12:43:05 am

Did you resolve this issue? I have the same problem and I can't resolve.

Thanks!

Madeline VEYRENC

Thursday 01 April 2010 6:49:33 am

Hi,
I find a solution to use servervar match order :
First, in your VHost, use this rules to set your variable :

SetEnvIf Request_URI ^/.* SITE_ACCESS=site1_en
SetEnvIf Request_URI ^/de.* SITE_ACCESS=site1_de
SetEnvIf Request_URI ^/es.* SITE_ACCESS=site1_es

You can also add this one :

SetEnvIf Request_URI ^/en.* SITE_ACCESS=site1_en

Do the same for the other VHost and create another VHost for the backend with this rule :

SetEnvIf Request_URI ^/ SITE_ACCESS=admin

Next, in settings/override/site.ini.append.php, put this conf :

[SiteAccessSettings]
MatchOrder=servervar
ServerVariableName=REDIRECT_SITE_ACCESS 

(Apache add 'REDIRECT_' before your variable)

Restart Apache and try.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.