This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Install & configuration » eZDFS clustering 404 errors for js,...

eZDFS clustering 404 errors for js, css, images, etc

eZDFS clustering 404 errors for js, css, images, etc

Thursday 08 December 2016 8:46:45 am - 3 replies

Hi all,
we installed version 2014.11 on two servers in an folder outside of the http root and symlinked the ezpublish_legacy folder as a subfolder with the name "information" via 
ln -s ../ezcms_test/ezpublish_legacy/ information
Then we started the installation. Everything worked fine so far. Then we started the clustering process, as described here:
Everything worked fine, all the images, css, js and cache files are correcty generated on the NFS, all entrys in the tables for "ezdfsfile_cache" etc. are looking fine. 
But finally, when finnishing the process for clustering and purging caches, all requests to cached files and images leads to an 404 error. 
Anyone got an idea? Or a suggestion on how to use legacy only in an symlinked subfolder with clustering?
We are running on PHP 5.6.23 and MySQL and tried it with an fresh install of EZ.

Thursday 08 December 2016 9:01:36 am

Sorry, of course I followed the instructions for the setup found here:

In previous versions the index_image.php, index_xxx.php etc. needet to be created, not in 2014.11 any longer?

Monday 19 December 2016 7:26:45 pm

Hello Dirk,

I recommend posting your question on our Slack channel, there are a lot of experienced eZ4/5 members around that might have an answer. To join Slack, see

Thursday 05 January 2017 8:43:20 am


just to close this topic and add the solution.

We enabled htaccess logging and nedded to modify some htaccess rules to make it work:

RewriteEngine On
DirectoryIndex index.php
RewriteRule ^var/([^/]+/)?storage/images-versioned/.* /subfoldertoezlegacy/index_cluster.php [L]
RewriteRule ^var/([^/]+/)?storage/images/.* /subfoldertoezlegacy/index_cluster.php [L]
RewriteRule ^var/([^/]+/)?cache/public/(stylesheets|javascript)/.* /subfoldertoezlegacy/index_cluster.php [L]
RewriteRule ^index_cluster.php - [L]

Modified on Thursday 05 January 2017 8:46:12 am by Dirk DV


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from