Problem with siteaccesses

Author Message

Bernhard Reiter

Tuesday 08 March 2005 3:29:53 am

Hi,
I am trying to basically set up four different site accessess.
In the end it should look like:
biz.ez.local
personal.ez.local
and two corresponding admin sites.

But it does not work. I just always get an admin login page. And because the site title is always the same, i think it somehow doesnt look into the right siteaccess directory.
I tried it with host mapping and regexps as it is described in the manual.
I think my apache conf is right as i get forwarded to the ez folder.

Here some conf entries:

[SiteSettings]
DefaultAccess=biz
SiteList[]=biz, personal

[SiteAccessSettings]
CheckValidity=false
MatchOrder=host
HostMatchRegexp=^(.+)\.ez\.local$
HostMatchSubtextPost=\.ez\.local

and from siteacces/biz/site.append.ini:

[SiteSettings]
SiteName=John Selby Business
SiteURL=biz.ez.local

Bernhard Reiter

Tuesday 08 March 2005 3:54:04 am

After playing around a bit, it now always enter biz siteaccess, and i cant reach admin interface.

Ɓukasz Serwatka

Tuesday 08 March 2005 4:03:38 am

Hi Bernhard,

You can find some examples here about hostname configuration.
http://ez.no/ez_publish/documentation/configuration/configuration/site_access

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Bernhard Reiter

Tuesday 08 March 2005 5:15:00 am

I already had a look at the docs.
It always acesses the site defined in [SiteSettings]DefaultAccess.

Just to make sure apache is configured correctly: i add all the above domains to to my hosts file (linux) and redirect in the Vhost configuration every one of it to my ezpublish folder?

Bernhard Reiter

Tuesday 08 March 2005 5:56:51 am

I now solved it with the 'Host Match Map' method.
Still i am corious why the original method did not work.

Bernhard Reiter

Wednesday 09 March 2005 3:48:42 am

Now my problem is that i need to login to view any content.
I know i must change the login role for user. But the problem is that my siteaccesses dont get displayed in the select.
Must i do something special for that to happen?

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