Apache2 and WebDAV (with Solution)

Author Message

Sergey Shishkin

Wednesday 16 August 2006 1:27:05 am

BUG 8834: http://ez.no/bugs/view/8834

The class eZWebDAVContentServer uses a variable $_SERVER["SCRIPT_URL"].

I have collided that in web server Apache2 there is no such variable in array $_SERVER.

---
Solution.
There are two cases:
with redirections (without index.php): using $_SERVER["REDIRECT_URL"]
without redirections (with index.php): using _SERVER["PHP_SELF"]

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 19 2025 03:18:40
Script start
Timing: Jan 19 2025 03:18:40
Module start 'layout'
Timing: Jan 19 2025 03:18:40
Module start 'content'
Timing: Jan 19 2025 03:18:41
Module end 'content'
Timing: Jan 19 2025 03:18:41
Script end

Main resources:

Total runtime0.7349 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.0067 589.1641152.6250
Module start 'layout' 0.00670.0047 741.789139.4453
Module start 'content' 0.01140.7219 781.2344400.1484
Module end 'content' 0.73340.0015 1,181.38288.1563
Script end 0.7349  1,189.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4662160.0002
Check MTime0.00130.1773160.0001
Mysql Total
Database connection0.00090.126810.0009
Mysqli_queries0.697894.9450460.0152
Looping result0.00040.0487440.0000
Template Total0.702695.620.3513
Template load0.00210.288220.0011
Template processing0.700595.312420.3502
Template load and register function0.00020.021210.0002
states
state_id_array0.00120.159610.0012
state_identifier_array0.00130.176220.0006
Override
Cache load0.00170.2304110.0002
Sytem overhead
Fetch class attribute can translate value0.00050.073110.0005
Fetch class attribute name0.00110.149910.0011
XML
Image XML parsing0.00010.016610.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00120.1698100.0001
String conversion0.00000.001640.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs