NOTE: Apache 2.0.43 and PATH_INFO

Author Message

Atle Enersen

Monday 06 January 2003 9:02:28 am

For those ppl running Apache 2.* there migth be a problem getting things to work. I noticed it at the login screen.

/index.php/user/login/ generated a 404. I tested with a CGI-script (Perl) and there the PATH_INFO (/user/login/) works fine, but not on any PPH-script.

The reason for this is that PATH_INFO must be turned on *explicitly* in Apache 2.*.

Two helphful URL's:

- http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo
- http://www.apacheweek.com/issues/02-07-12

\atle\
--

Gerry Quach

Saturday 24 May 2003 9:25:54 am

Thank you *so* much for this fix, Atle. I've been running around like a headless chook trying to get ez Publish 3 working on Apache2 on Mac OS X. It finally works now! I've added an entry in the user contributed documentation to this thread.

Narco Sarnix

Sunday 25 May 2003 7:56:05 am

excellent, Patrick.
thanks for the URL's.

i got it working now. I can't confirm this solution for windows xp by experience, because i run freebsd 4-stable, php 4.3.1 and apache 2.0.44 at the moment.
the URL's Patrick gave are pretty interesting, so you might want to read them.
this is what i added to httpd.conf:
<Directory /<httpd-root>/ezpublish-x.x.x>
AcceptPathInfo On
</Directory>

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 05:00:42
Script start
Timing: Jan 18 2025 05:00:42
Module start 'layout'
Timing: Jan 18 2025 05:00:42
Module start 'content'
Timing: Jan 18 2025 05:00:43
Module end 'content'
Timing: Jan 18 2025 05:00:43
Script end

Main resources:

Total runtime0.7846 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 589.1719152.6406
Module start 'layout' 0.00440.0025 741.812539.4766
Module start 'content' 0.00690.7762 781.2891504.4609
Module end 'content' 0.78310.0015 1,285.75008.1406
Script end 0.7846  1,293.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4138160.0002
Check MTime0.00130.1639160.0001
Mysql Total
Database connection0.00060.080910.0006
Mysqli_queries0.734193.5604590.0124
Looping result0.00110.1465570.0000
Template Total0.752295.920.3761
Template load0.00200.253120.0010
Template processing0.750295.611820.3751
Template load and register function0.00030.032010.0003
states
state_id_array0.00150.187910.0015
state_identifier_array0.00170.214420.0008
Override
Cache load0.00160.2083220.0001
Sytem overhead
Fetch class attribute can translate value0.00180.226130.0006
Fetch class attribute name0.00190.238130.0006
XML
Image XML parsing0.00050.066830.0002
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00100.1256100.0001
String conversion0.00000.001040.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs