Host_uri_scheme

Author Message

Lars Eirik R

Friday 17 December 2010 3:09:02 am

Hi.

I am trying to get the following to work..

I would like to have www.mysite.com/customer1 render a different design than www.mysite.com/customer2

I am on 4.4 and i have tried to use the following:

MatchOrder=host_uri
HostUriMatchMapItems[]=www.web.com;customer1;customer1design
HostUriMatchMapItems[]=www.web.com/customer2;customer2design

The problem is that i am able to render my design if the url is as follows:

www.web.com/customer1

however i get a module not found (kernel 20 error) if i try to access a subpage of customer1, for instance www.web.com/customer1/articles

Is this not possible with the new host_uri scheme?

My client does not want to have separate urls.

any ideas on how this can be achieved?

(perhaps i am thinking too complex and should stick to host scheme instead of host_uri?)

Update1: Not fully done with this, but seems i have to fix the pathprefix to get it to work on my installation.

Yannick Komotir

Friday 17 December 2010 4:35:40 am

hello,

are you try by giving customer1 and customer2 like siteacess name's ?

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

André R.

Friday 17 December 2010 4:30:23 pm

There seems to at least be an typo in your setting:

HostUriMatchMapItems[]=www.web.com/customer2;customer2design

should have been

HostUriMatchMapItems[]=www.web.com;customer2;customer2design

where customer2design is the name of the siteaccess.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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