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.

eZ debug

Timing: Jan 19 2025 03:32:55
Script start
Timing: Jan 19 2025 03:32:55
Module start 'layout'
Timing: Jan 19 2025 03:32:55
Module start 'content'
Timing: Jan 19 2025 03:32:56
Module end 'content'
Timing: Jan 19 2025 03:32:56
Script end

Main resources:

Total runtime0.9457 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.2578152.6250
Module start 'layout' 0.00480.0025 741.882839.4453
Module start 'content' 0.00720.9369 781.3281572.7344
Module end 'content' 0.94420.0015 1,354.062512.1641
Script end 0.9457  1,366.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3388160.0002
Check MTime0.00130.1368160.0001
Mysql Total
Database connection0.00060.067910.0006
Mysqli_queries0.891494.2551660.0135
Looping result0.00060.0600640.0000
Template Total0.920097.320.4600
Template load0.00200.215320.0010
Template processing0.918097.069620.4590
Template load and register function0.00040.042410.0004
states
state_id_array0.00090.091310.0009
state_identifier_array0.00110.116020.0005
Override
Cache load0.00180.1927340.0001
Sytem overhead
Fetch class attribute can translate value0.00060.066620.0003
Fetch class attribute name0.00120.125070.0002
XML
Image XML parsing0.00070.072020.0003
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.00080.0811180.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs