problem with clustering

Author Message

justin kazadi

Tuesday 06 May 2008 1:53:11 am

Hello all,

I have used the technical manual 4.0 to configure the clustering in my ez web site.
At the end of configuration i have added some lines on httpd.conf (apache setting file). I have restart apache and restart my computer.after this apache didn't work, i have decided to delete these lines on httpd.conf. after this apache work but some images can't be displayed.so i have a error like the images on var can't be displayed.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

André R.

Tuesday 06 May 2008 5:17:09 am

Please post the stuff you are referring to!
In this case the lines that make apache refuse to start..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

justin kazadi

Tuesday 06 May 2008 6:38:00 am

Hi,
The technical manual of ez 4.0 says that we have to add this :

Rewriterule ^/var/([^/]+/)?storage/images-versioned/.* /
index_cluster.php [L]
Rewriterule ^/var/([^/]+/)?storage/images/.* /
index_cluster.php [L]

on httpd.conf

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

André R.

Tuesday 06 May 2008 9:23:15 am

yes but the doc also says "Add the following rewrite rules to your Apache configuration file before the other/existing rules", the last part means you need to put it togheter with you other rewrite rules for your virtual host setup.

More on virtual host setup:
http://ez.no/doc/ez_publish/technical_manual/4_0/installation/virtual_host_setup
http://ez.no/doc/ez_publish/technical_manual/4_0/installation/virtual_host_setup/virtual_host_example

It's also worth to mention that it needs to be after "RewriteEngine On"...

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.