Why are not URL's producing the same output?

Author Message

Nebojsa Eric

Saturday 06 October 2007 3:55:26 am

Why are not URL's producing the same output?

www.mydomain.com/directory

and

www.mydomain.com/directory/

The difference is in the "/" at the end of the URL. Directory in the URL is the installation directory of eZ Publish. First case (without "/") doesn't work - home page reports module not found, and second one is OK.

Is it possible to make it work with the first one or eZ must operate with the "/" at the end?

Tnx.

Petr Mifek

Saturday 06 October 2007 9:37:11 am

This seems to me as an apache's mod_rewrite problem. Did you set up some? See also:

Trailing Slash Problem in http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

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 30 2025 21:39:53
Script start
Timing: Jan 30 2025 21:39:53
Module start 'layout'
Timing: Jan 30 2025 21:39:53
Module start 'content'
Timing: Jan 30 2025 21:39:54
Module end 'content'
Timing: Jan 30 2025 21:39:54
Script end

Main resources:

Total runtime0.9333 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.2578151.2266
Module start 'layout' 0.00500.0046 739.4844220.7188
Module start 'content' 0.00960.9227 960.20314,396.7813
Module end 'content' 0.93230.0009 5,356.98447.8125
Script end 0.9332  5,364.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3763160.0002
Check MTime0.00140.1447160.0001
Mysql Total
Database connection0.00070.075710.0007
Mysqli_queries0.854291.5244540.0158
Looping result0.00040.0460520.0000
Template Total0.881494.420.4407
Template load0.00220.230920.0011
Template processing0.879294.206220.4396
Template load and register function0.00140.149910.0014
states
state_id_array0.00190.199810.0019
state_identifier_array0.00110.121620.0006
Override
Cache load0.00180.1896140.0001
Sytem overhead
Fetch class attribute can translate value0.00200.212620.0010
Fetch class attribute name0.00240.254330.0008
XML
Image XML parsing0.00230.250220.0012
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00400.4234160.0002
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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
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