SiteAccessRules -- how to declare a default access rule for nonmatching requests ?

Author Message

Volker Lenz

Sunday 26 January 2003 8:20:29 am

Is it possible to declare a default site access rule in ezp3 site.ini or elsewhere to cope with URIs that do not match any of the required patterns like "admin" or "user" in order to decide which access path to follow? I could not find an answer in the docs.

What I mean is just e.g. appending something like "StaticMatch" to your Match Order in site.ini to generate a fallback access rule if all other matches fail, say

MatchOrder host;uri;static
StaticMatch=public

Or is this goal perhaps achievable with other config-settings I am just to silly to recognize?

What does ezp3 actually do if all matches suggested fail?

Any ideas ?

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

Main resources:

Total runtime0.0231 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.0062 588.6328151.2734
Module start 'layout' 0.00620.0041 739.9063220.8594
Module start 'content' 0.01030.0114 960.7656997.9297
Module end 'content' 0.02160.0015 1,958.695329.9922
Script end 0.0231  1,988.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002812.2291140.0002
Check MTime0.00114.8708140.0001
Mysql Total
Database connection0.00083.247210.0008
Mysqli_queries0.003314.285730.0011
Looping result0.00000.039210.0000
Template Total0.00114.810.0011
Template load0.00093.723510.0009
Template processing0.00020.981410.0002
Override
Cache load0.00052.347310.0005
General
dbfile0.00031.220580.0000
String conversion0.00000.025840.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