Site Access Setup Question

Author Message

elliot smelliot

Thursday 10 April 2003 11:24:13 am

I'm a trifle confused as to what to configure under the "Host" setup under "Site access configuration". I'm running the server in a situation where the eZ website doesn't run as the default domain (i.e. www.domain.com/MYWEB). In the Host configuration:

[SiteAccessSettings]
MatchOrder=host
HostMatchRegexp=^(.+)\.mybookstore\.com$
HostMatchSubtextPost=\.mybookstore\.com

Do I need to type anything additional? Also, can I choose which setup I want to use: Host, URI, Port? Another question: Do I need to do this step at all if I am only running one web but perhaps might want to have more webs in the future?

John Hoskins

Thursday 10 April 2003 12:27:17 pm

I would suggest that you use port. That way you can put the demo site on one port, the demo admin site on another port, and your site on port 80.

What you have should shove everything through the one site you have set. Unfortunately, even though you can add more methods in the MatchOrder setting (port, index and uri are the others), it takes the first match and goes forward.

Scot Wilcoxon

Thursday 10 April 2003 1:04:55 pm

I've been tinkering with that www.example.com/MYWEB configuration. If "index.php" shows in your URLs within the site, you'll be OK. ez3 looks for "index.php" to find what to call the ez3 directory.

Hiding "index.php" can't yet be done with a non-root page.

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

Main resources:

Total runtime0.0251 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.2500151.2266
Module start 'layout' 0.00580.0032 739.4766220.7031
Module start 'content' 0.00900.0146 960.1797997.6953
Module end 'content' 0.02360.0015 1,957.875029.9922
Script end 0.0251  1,987.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.5201140.0002
Check MTime0.00114.1909140.0001
Mysql Total
Database connection0.00114.461410.0011
Mysqli_queries0.00187.176630.0006
Looping result0.00000.044610.0000
Template Total0.00114.210.0011
Template load0.00083.236210.0008
Template processing0.00020.967110.0002
Override
Cache load0.00062.272910.0006
General
dbfile0.002710.618880.0003
String conversion0.00000.034240.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