eZ Community » Forums » Developer » domain
expandshrink

domain

domain

Thursday 30 October 2014 9:08:04 am - 1 reply

Hi ,

Lets say I have dev.example.com and dev.example.no.

dev.example.com is working and dev.example.no is not working for the same ip address.

 

Where can i look in for this issue.in ez publish configurartions?

Can someone give me help?

Thursday 30 October 2014 9:59:52 am

What do you mean by not working?

It doesn't get to the server?  Then you probably have to add a ServerAlias to your apache (or equivalent) config. or check your dns that it's going to the machine you think it's going to.

If it's getting to the right document root but not the right siteaccess, then really depends on which version of eZPublish you're running, but generally for 4.4+ installations, these are the settings you want to look at - you probably want the HostUriMatchMapItems[] with a start or HostMatchMapItems with both domains.  For eZPublish5 take a look at

https://doc.ez.no/display/EZP52/Siteaccess+Matching

MatchOrder=host_uri;host;uri
HostUriMatchMapItems[]=hostname;urlmatch;accessname[;start|end|part|strict]
HostMatchMapItems[]
HostMatchMapItems[]=hostname;accessname

You can take a look at https://github.com/ezsystems/ezpublish-legacy/blob/master/doc/features/4.4/host_uri_siteaccess_matching.txt (or the one sitting in your doc directory) for more information.

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from