ezFlow an ezOnlineEditor is only working with...

Author Message

John Moritz

Sunday 07 June 2009 8:36:26 am

I just wanted to play around with ezFlow and did not see the Block Zones (as example Left Zone and Right Zone).
I took a look at my htaccess to make sure i have the following RewriteRule:

RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|standard|javascripts|javascript?)/.* - [L]

But this didnt work for me.
The same happens when i tried to view the new Online Editor. My hataccess Rewrite Rule:

RewriteRule ^/var/([^/]+/)?cache/public/.* - [L]

Didnt help me.

To solve my Problem for both i had to make this:

RewriteRule ^extension/ezflow/design/.* - [L]
RewriteRule ^var/[^/]+/ezflow_site/cache/public/javascript/.* - [L]

Because i am not a expert in writing RewriteRules, my question is, are there any security issues with this? What is the Reason that ezFlow and ezOE only works with this RewriteRule and not with the specified in the installation manuals?

Ɓukasz Serwatka

Sunday 07 June 2009 11:28:56 pm

John, actually your re-write rule for eZ Flow is wrong. The correct one is following:

^/extension/[^/]+/design/[^/]+/(stylesheets|flash|images|lib|javascripts?)/.* - [L]

It is mention in the setup guide for eZ Flow 1.1.
http://ez.no/doc/extensions/ez_flow

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.0182 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1797152.6406
Module start 'layout' 0.00630.0033 741.820339.4766
Module start 'content' 0.00960.0060 781.296989.4922
Module end 'content' 0.01570.0025 870.789130.3047
Script end 0.0181  901.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002915.6917140.0002
Check MTime0.00126.5297140.0001
Mysql Total
Database connection0.00094.745010.0009
Mysqli_queries0.003117.106330.0010
Looping result0.00000.087910.0000
Template Total0.001910.310.0019
Template load0.00105.377510.0010
Template processing0.00094.843510.0009
Override
Cache load0.00073.804210.0007
General
dbfile0.00031.547180.0000
String conversion0.00000.055140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs