did anyone try out apache mod_authz_dbd?

Author Message

Gaetano Giunta

Tuesday 13 November 2007 3:08:12 pm

It should be out with apache 2.3, and is basically a module that allows to execute custom queries to a database to fetch a group that connected users belong to (plus some nifty stuff for login/logout pages)

http://httpd.apache.org/docs/trunk/mod/mod_authz_dbd.html

Did anybody try it out?

I think it should be interesting if it could be setup somehow so that access to static parts of the site are granted to ezpublish users, follwoing ezpublish rules, but without passing via php.

Good eg. for cluster / staticcache setups.

Principal Consultant International Business
Member of the Community Project Board

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 18:25:27
Script start
Timing: Jan 18 2025 18:25:27
Module start 'layout'
Timing: Jan 18 2025 18:25:27
Module start 'content'
Timing: Jan 18 2025 18:25:29
Module end 'content'
Timing: Jan 18 2025 18:25:29
Script end

Main resources:

Total runtime1.9436 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.4844152.6406
Module start 'layout' 0.00680.0044 742.125039.4766
Module start 'content' 0.01121.9308 781.6016463.1406
Module end 'content' 1.94200.0015 1,244.74228.1250
Script end 1.9436  1,252.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2083160.0003
Check MTime0.00120.0642160.0001
Mysql Total
Database connection0.00100.048910.0010
Mysqli_queries1.894097.4491460.0412
Looping result0.00090.0484440.0000
Template Total1.886697.120.9433
Template load0.00330.172120.0017
Template processing1.883296.893620.9416
Template load and register function0.00010.005810.0001
states
state_id_array0.00140.073910.0014
state_identifier_array0.00750.384120.0037
Override
Cache load0.00270.139890.0003
Sytem overhead
Fetch class attribute can translate value0.00090.045510.0009
Fetch class attribute name0.00060.033220.0003
XML
Image XML parsing0.00040.021810.0004
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00380.1966160.0002
String conversion0.00000.000340.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0005 secs