IndexPage doesn't work when using PathPrefix

Author Message

Maarten Holland

Tuesday 29 August 2006 1:04:27 pm

Hi all,

I've created 3 folders for 3 different sites in ezPublish's root folder. In each folder I've created an 'article' called 'home', since I don't want to use the folder itself as home.

- root
- root \ site 1 (folder)
- root \ site 1 \ home (article)
- root \ site 2 (folder)
- root \ site 2 \ home (article)

In the site.ini.append.php for the 3 siteaccess I've set PathPrefix to site1 (folder), site2 etc so that the foldername is excluded from the URL.

Problem here is that IndexPage doesn't work anymore. I've set that using /content/view/full to the node ID of each 'home' article, but instead, the folder shows up when I access my sites. I've also tried IndexPage=/home/ and IndexPage=/site1/home/ without success.

Anyone has any ideas how I can manage to show the 'home' article instead of the folder? When I remove 'PathPrefix' it's working fine again.

I really hope you can help me. I've read several pages about PathPrefix but can't find the solution.

Thank you very much!

Maarten

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 01:14:45
Script start
Timing: Jan 19 2025 01:14:45
Module start 'layout'
Timing: Jan 19 2025 01:14:45
Module start 'content'
Timing: Jan 19 2025 01:14:46
Module end 'content'
Timing: Jan 19 2025 01:14:46
Script end

Main resources:

Total runtime1.1985 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.0045 590.6797152.6563
Module start 'layout' 0.00450.0020 743.335939.5078
Module start 'content' 0.00641.1904 782.8438401.7188
Module end 'content' 1.19690.0016 1,184.56258.1094
Script end 1.1985  1,192.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2620160.0002
Check MTime0.00130.1048160.0001
Mysql Total
Database connection0.00060.051610.0006
Mysqli_queries1.157796.5924460.0252
Looping result0.00050.0389440.0000
Template Total1.165997.320.5829
Template load0.00240.203120.0012
Template processing1.163497.068320.5817
Template load and register function0.00010.010210.0001
states
state_id_array0.00140.114310.0014
state_identifier_array0.00140.114820.0007
Override
Cache load0.00200.1659160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.049010.0006
Fetch class attribute name0.00070.055710.0007
XML
Image XML parsing0.00010.006910.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00070.0623100.0001
String conversion0.00000.002940.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.0002 secs