Forums / General / Using eZ on just PART of a Web site...

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

eZ debug

Timing: Jan 31 2025 01:31:27
Script start
Timing: Jan 31 2025 01:31:27
Module start 'content'
Timing: Jan 31 2025 01:31:27
Module end 'content'
Timing: Jan 31 2025 01:31:28
Script end

Main resources:

Total runtime0.4059 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 587.9453370.2969
Module start 'content' 0.00870.0566 958.24221,001.5313
Module end 'content' 0.06530.3406 1,959.77343,890.9609
Script end 0.4058  5,850.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00491.1976200.0002
Check MTime0.00150.3626200.0001
Mysql Total
Database connection0.00110.262110.0011
Mysqli_queries0.222554.80691410.0016
Looping result0.00160.39921390.0000
Template Total0.340183.810.3401
Template load0.00080.209210.0008
Template processing0.339383.580810.3393
Override
Cache load0.00060.135510.0006
Sytem overhead
Fetch class attribute can translate value0.00220.546610.0022
XML
Image XML parsing0.00030.075110.0003
General
dbfile0.02877.0633200.0014
String conversion0.00000.001630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs