site.ini settings

Author Message

David Cross

Sunday 13 April 2003 10:52:32 am

What should a site.ini look like for EZ Publish to serve up public content, without any logins, for www.mysite.com/ (and all URIs below the root)?

Admin should be at www.mysite.com/admin/

Non-valid URIs www.mysite.com/wronglink/ should throw 404s

Thank you

Jan Borsodi

Monday 14 April 2003 7:35:02 am

For public content you should use the settings/siteaccess/demo/site.ini.append file as basis, copy it to your own siteaccess and edit the file, eg. settings/siteaccess/mysite/site.ini.append.
Then set:
DefaultAccess=mysite

For uri based siteaccess matching (ie /admin for admin), use:
MatchOrder=uri

For errors set:
ErrorHandler=displayerror
The system will then use the templates in design/standard/templates/error/kernel/ for errors.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 18 2025 16:24:09
Script start
Timing: Jan 18 2025 16:24:09
Module start 'layout'
Timing: Jan 18 2025 16:24:09
Module start 'content'
Timing: Jan 18 2025 16:24:09
Module end 'content'
Timing: Jan 18 2025 16:24:09
Script end

Main resources:

Total runtime0.0129 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 587.9141152.6250
Module start 'layout' 0.00430.0024 740.539139.4453
Module start 'content' 0.00670.0046 779.984489.3359
Module end 'content' 0.01130.0016 869.320330.3047
Script end 0.0128  899.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002418.4157140.0002
Check MTime0.00107.7804140.0001
Mysql Total
Database connection0.00064.454710.0006
Mysqli_queries0.001713.186130.0006
Looping result0.00000.077910.0000
Template Total0.001310.510.0013
Template load0.00075.301910.0007
Template processing0.00075.125810.0007
Override
Cache load0.00043.196010.0004
General
dbfile0.00021.707480.0000
String conversion0.00000.046340.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