Using eZ on just PART of a Web site...

Author Message

Deane Barker

Monday 23 May 2005 2:57:54 pm

What are the success rates in having eZ just manage PART of a Web site, not the whole thing?

I have eZ running in a subfolder of the root. Everything works fine, but I want to have some URL transparency on the front side.

For instance, this path:

/News/.*

Should pull this content:

/ez/index.php/plain/news/

This rewrite rule...

RewriteRule ^/news/(.*)$ /ez/index.php/plain/news/$1 [L]

...did not work. I got a "module not found" error out of eZ. The rewrite log looks like this:

init rewrite engine with requested uri /news/
applying pattern '^/news/(.*)$' to uri '/news/'
rewrite /news/ -> /ez/index.php/plain/news/
local path result: /ez/index.php/plain/news/
prefixed with document_root to C:/xampp/vhosts/cbc/htdocs/ez/index.php/plain/news/
go-ahead with C:/xampp/vhosts/cbc/htdocs/ez/index.php/plain/news/ [OK]

It looks fine...but it still didn't work.

I guess I have two questions:

1. Is there a more intelligent way to do this? The rest of the site is vast and is managed by a lot of other systems. I just need eZ to manage this one piece.

2. If RewriteRules are the way to go, can nayone show me examples that have worked?

Deane

Stuart DH

Wednesday 25 May 2005 2:09:41 am

Hi Deane,

Dare I suggest that if you're only looking for something to run the news part of your site then it may be worth taking a look at a different CMS package.

eZ Publish is a bit of an overkill just for news and as you've probably worked out already, with the lack of replies to your post, eZ publish doesn't have a big enough community to answer the various problems that you're likely to face along the way.

My site uses Mambo for news, which is very quick an easy, although in hindsight I think that Xoops or Drupal would have been a better choice.

There also many other OS packages that could fit the bill, from Midgard and WebEditor to the various news apps that can be found on Hotscripts.com

http://www.wildaboutbritain.co.uk

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 16:13:21
Script start
Timing: Jan 18 2025 16:13:21
Module start 'layout'
Timing: Jan 18 2025 16:13:21
Module start 'content'
Timing: Jan 18 2025 16:13:22
Module end 'content'
Timing: Jan 18 2025 16:13:22
Script end

Main resources:

Total runtime1.0198 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.3438152.6250
Module start 'layout' 0.00490.0024 741.968839.4609
Module start 'content' 0.00741.0109 781.4297525.3125
Module end 'content' 1.01830.0015 1,306.74228.1563
Script end 1.0198  1,314.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3141160.0002
Check MTime0.00140.1332160.0001
Mysql Total
Database connection0.00080.082910.0008
Mysqli_queries0.969895.0937540.0180
Looping result0.00060.0545520.0000
Template Total0.986996.820.4935
Template load0.00210.210220.0011
Template processing0.984896.565320.4924
Template load and register function0.00010.009210.0001
states
state_id_array0.00120.113910.0012
state_identifier_array0.00230.222420.0011
Override
Cache load0.00180.1723250.0001
Sytem overhead
Fetch class attribute can translate value0.00090.087620.0004
Fetch class attribute name0.00180.173930.0006
XML
Image XML parsing0.00060.055220.0003
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00070.0697160.0000
String conversion0.00000.000640.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
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/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 6

Time used to render debug report: 0.0001 secs