my Ez tries to use the "var" module ... images broken

Author Message

Paul Etienney

Tuesday 01 June 2010 2:32:02 am

Hello all,

Yesterday everything was allright and today my site tries to use the var module.

Consequence : all my images are broken.

Eg : http://www.pauletienney.fr/var/storage/images/mediatheque/photos-illustrations/portrait/portrait-creation-site-internet/4568-3-fre-FR/portrait-creation-site-internet.jpg

Do you have any idea to fix it ?

-- Good websites creation --
My site : http://www.pauletienney.com
Twitter : http://www.twitter.com/p_etienney

André R.

Tuesday 01 June 2010 4:37:18 am

rewrite rules, this shouldn't be handled by ezp at all so something is broken in your rewrite rules.

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

Paul Etienney

Tuesday 01 June 2010 4:52:28 am

That was my first guess but I use the same .htaccess in every project and it works on others ez publish install.

RewriteEngine On
RewriteRule ^var/storage/.* - [L]
RewriteRule ^var/[^/]+/storage/.* - [L]
RewriteRule ^var/cache/texttoimage/.* - [L]
RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]
RewriteRule ^design/[^/]+/(stylesheets|images|imagespl|javascript)/.* - [L]
RewriteRule ^share/icons/.* - [L]
RewriteRule ^sitemaps/.* - [L]
RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
RewriteRule ^extension/tracewatch/.* - [L]
RewriteRule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteCond $1 !^index.php$
RewriteRule (.*) /index.php

-- Good websites creation --
My site : http://www.pauletienney.com
Twitter : http://www.twitter.com/p_etienney

Steven E. Bailey

Tuesday 01 June 2010 5:25:01 am

Is this a new install on a new machine or was apache updated recently? Are other eZPublish instances working on the same machine? Is mod rewrite still enabled? Is the .htaccess file readable by whatever user is running your apache server?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Paul Etienney

Tuesday 01 June 2010 9:57:22 am

Thank you for your replies.

Actually the problem came from host : JustHost which made Apache changes without warning.

-- Good websites creation --
My site : http://www.pauletienney.com
Twitter : http://www.twitter.com/p_etienney

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