AcceptPathInfo On problem

Author Message

A M

Tuesday 14 March 2006 9:49:41 am

Installed eZ Publish which required required webserver to have "AcceptPathInfo On" in apache config. Without that links like http://www.mysite.com/index.php/corporate/contacts refuse to work. Adding "AcceptPathInfo On" to .htaccess didn't work. Asked my host to change my site's webserver config.The response was that AcceptPathInfo is an Apache 2 directive, and they run Apache 1.3, so this can not actually be used or modified. Any ideas on how to fix this?

Hans Melis

Tuesday 14 March 2006 12:45:06 pm

Hi,

AcceptPathInfo is indeed an Apache2 directive. If you're dealing with Apache 1.3, forget about that directive :-)

If index.php appears in URLs, it means the virtual host hasn't been configured properly. Please refer to the docs ( http://ez.no/doc/ez_publish/technical_manual/3_6/installation/virtual_host_setup ) for the correct configuration.

As a sidenote: AcceptPathInfo has little or nothing to do with the index.php appearing, even if you'd be using Apache2. It determines if "path info" after a filename is accepted (the "/corporate/contacts" after index.php in your URL) or not.

Hans
http://blog.hansmelis.be

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:44:13
Script start
Timing: Jan 19 2025 03:44:13
Module start 'layout'
Timing: Jan 19 2025 03:44:13
Module start 'content'
Timing: Jan 19 2025 03:44:14
Module end 'content'
Timing: Jan 19 2025 03:44:14
Script end

Main resources:

Total runtime1.2722 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.0049 589.2578152.6250
Module start 'layout' 0.00490.0026 741.882839.4453
Module start 'content' 0.00761.2632 781.3281518.3594
Module end 'content' 1.27080.0014 1,299.68758.1641
Script end 1.2721  1,307.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2581160.0002
Check MTime0.00140.1088160.0001
Mysql Total
Database connection0.00080.064110.0008
Mysqli_queries1.228396.5524540.0227
Looping result0.00060.0472520.0000
Template Total1.241697.620.6208
Template load0.00210.163020.0010
Template processing1.239597.432720.6198
Template load and register function0.00020.018310.0002
states
state_id_array0.00140.107510.0014
state_identifier_array0.00150.120720.0008
Override
Cache load0.00170.1338100.0002
Sytem overhead
Fetch class attribute can translate value0.00080.064420.0004
Fetch class attribute name0.00120.096930.0004
XML
Image XML parsing0.00100.076820.0005
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00090.0670150.0001
String conversion0.00000.000940.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs