This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » my Ez tries to use the "var" module...
expandshrink

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

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

Tuesday 01 June 2010 11:32:02 am - 4 replies

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/st.../portrait-creation-site-internet.jpg

Do you have any idea to fix it ?

Tuesday 01 June 2010 1:37:18 pm

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

Tuesday 01 June 2010 1:52:28 pm

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

Tuesday 01 June 2010 2:25:01 pm

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?

Tuesday 01 June 2010 6:57:22 pm

Thank you for your replies.

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

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from