EZ not works on CGI-PHP and Wrapper

Author Message

jose rubio

Saturday 04 October 2003 12:04:33 pm

My host uses ENSIM and it uses a wapper to run PHP as CGI with the identity of the user not the one from Apache (tipical nobody)

In this situation any url in the form
http://site.com/script.php/something/somethig

Causes internal server Error. (I supose due to the wrapper changing the paths)

So EZ Publish should use a traditional link structure based on parameters like script.php?parameter=value

In order to keep the Search engine free - URL?s the only requiremente is using Apache?s Mod Rewrite in an .htaccess file like does "Gallery"
gallery.sourceforge.net

Most hosting companies are using wrappers + CGI PHP instead of PHP Apache Module configure with safe mode so the security is bigger, and there are no problems with PHP disabled functions on safe mode.

hannes petursson

Tuesday 07 October 2003 10:13:55 am

Have you seen this thread:
http://www.ez.no/developer/ez_publish_3/forum/install_configuration/my_final_patch_for_phpcgi

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

Main resources:

Total runtime1.6444 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0391152.6406
Module start 'layout' 0.00590.0028 740.679739.4766
Module start 'content' 0.00871.6342 780.1563459.5781
Module end 'content' 1.64290.0014 1,239.73448.1406
Script end 1.6443  1,247.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.1815160.0002
Check MTime0.00130.0792160.0001
Mysql Total
Database connection0.00130.081410.0013
Mysqli_queries1.605197.6101540.0297
Looping result0.00050.0308520.0000
Template Total1.612098.020.8060
Template load0.00180.112320.0009
Template processing1.610197.917920.8051
Template load and register function0.00030.017510.0003
states
state_id_array0.00100.063010.0010
state_identifier_array0.00170.105620.0009
Override
Cache load0.00150.0922140.0001
Sytem overhead
Fetch class attribute can translate value0.00060.038320.0003
Fetch class attribute name0.00110.065520.0005
XML
Image XML parsing0.00030.016120.0001
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00080.0514100.0001
String conversion0.00000.000440.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs