Share » Forums » Setup & design » A singolar need of multiple...

A singolar need of multiple websites/languages and one eZ installation

A singolar need of multiple websites/languages and one eZ installation

Wednesday 20 October 2010 12:03:55 am - 8 replies

Author Message

Quoc Huy Nguyen Dinh

Wednesday 20 October 2010 3:06:22 am

Have you read that one?

http://share.ez.no/learn/ez-publish/lots-of-websites-one-ez-publish-installation-adding-siteaccesses-in-ez-publish

Mauro Innocenti

Thursday 21 October 2010 3:12:47 am

Yes, I've read it. But this article don't resolve completely my needs.

It seem's that the site.ini settings available for mapping hostname/URI with siteaccesses aren't enough.

Quoc Huy Nguyen Dinh

Friday 22 October 2010 3:45:49 am

Instead of using URI for language can't you use subdomain instead?

www.website1.com => goes to default language, siteaccess website1_en

fr.website1.com => french website 1, website1_fr

it.website2.com => italien website 2, website2_it

en.website2.com => english website 2, website2_en

Mauro Innocenti

Friday 22 October 2010 5:50:57 am

I don't, sorry.

I want to host a lot of websites and I'm limited to only one hostname per website.

Steven E. Bailey

Friday 22 October 2010 7:00:50 am

I think what you want is the MatchOrder=host_uri which was added to 4.4 so it's not really well-documented yet.

You can use something like this:

MatchOrder=host_uri

HostUriMatchMapItems[]

HostUriMatchMapItems[]=website1.tld;en;website1_en

HostUriMatchMapItems[]=website1.tld;fr;website1_fr

HostUriMatchMapItems[]=website1.tld;it;website1_it

HostUriMatchMapItems[]=website2.tld;en;website2_en

HostUriMatchMapItems[]=website2.tld;fr;website2_fr

HostUriMatchMapItems[]=website2.tld;it;website2_it

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Mauro Innocenti

Monday 25 October 2010 1:06:45 am

Yes! That's exactly what I needed!

Thank You!

Quoc Huy Nguyen Dinh

Monday 25 October 2010 7:33:21 am

Excellent!

Nicolas Pastorino

Monday 25 October 2010 10:15:07 am

Yes! That's exactly what I needed!

Thank You!

Hi Mauro,

Nice to see you got the relevant answer. Thanks to all guys. You may now want to mark the topic as solved (click the small ticker, right next to the topic's title).

Cheers all !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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

36 542 Users on board!

Forums menu