mybookstore.com tutorial does not work

Author Message

Arne Schirmacher

Tuesday 01 July 2003 12:19:41 pm

I can't get the example on http://ez.no/sdk/tutorials/view/main_concepts to work:

I have installed ezp 3.1-1 with Apache 1.3.27 (virtual hosts) and everything seems to work:

http://www.mysite.de:8080/demo shows the demo site,
http://www.mysite.de:8080/admin shows the admin site,
http://www.mysite.de:8080/user shows the user site.

I then edited settings.site.ini:

[SiteAccessSettings]
MatchOrder=host
HostMatchRegexp=^(.+)\.mysite\.de$
HostMatchSubtextPost=\.mysite\.de

(this is just as it is suggested in the tutorial, with the exception of the domain name. I changed only those three lines and left everything else as configured by the setup program)

The file settings/siteaccess/admin/site.ini.append already has the settings required by the tutorial (and some more), so I left that alone.

Now when I access http://admin.mysite.de:8080 I expected to reach the admin site, but the demo site is displayed instead. I also tried the HostMatchMapItems parameters which did not work either.

Please advise how to fix this problem. If someone has a working set of config files, please feel free to mail them to nn4l@yahoo.de. Thanks!

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 31 2025 06:20:57
Script start
Timing: Jan 31 2025 06:20:57
Module start 'layout'
Timing: Jan 31 2025 06:20:57
Module start 'content'
Timing: Jan 31 2025 06:20:57
Module end 'content'
Timing: Jan 31 2025 06:20:57
Script end

Main resources:

Total runtime0.0124 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.2578151.2266
Module start 'layout' 0.00430.0023 739.484436.6953
Module start 'content' 0.00660.0045 776.179786.0781
Module end 'content' 0.01110.0012 862.257829.9922
Script end 0.0123  892.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002217.3938140.0002
Check MTime0.00108.2456140.0001
Mysql Total
Database connection0.00065.070810.0006
Mysqli_queries0.002318.855830.0008
Looping result0.00000.096410.0000
Template Total0.00107.810.0010
Template load0.00075.969610.0007
Template processing0.00021.739810.0002
Override
Cache load0.00054.173910.0005
General
dbfile0.00108.444280.0001
String conversion0.00000.048240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs