Share » Forums » Developer » Where to create generated files

Where to create generated files

Where to create generated files

Thursday 11 March 2010 3:15:14 am - 1 reply

Author Message

Christian Rößler

Thursday 11 March 2010 4:11:24 am

Hy,

i think the var-directory is a good place for those 'temporary' files.
The errormessage probably comes from your .htaccess file which restricts the access to files in the var-folder except for pdfs and images.
Perhaps you should post the complete errormessage, try copy'n'paste :-)

If the error is invoked by .htaccess restrictions, edit that file. You can find it in the ezpublish main directory.
Find the following lines and add your csv-files to it:

from:
<FilesMatch "(^index\.php|favicon\.ico|index_treemenu\.php|\.(gif|jpe?g?|png|css|js|swf|html?)|var(.+)storage.pdf(.+)\.pdf)$">
to:
<FilesMatch "(^index\.php|favicon\.ico|index_treemenu\.php|\.(gif|jpe?g?|png|css|js|swf|html?)|var(.+)storage.pdf(.+)\.pdf|var(.+)\.csv)$">

from:
RewriteRule !(\.(gif|jpe?g?|png|css|js|swf|html?)|var(.+)storage.pdf(.+)\.pdf)$ index.php
to:
RewriteRule !(\.(gif|jpe?g?|png|css|js|swf|html?)|var(.+)storage.pdf(.+)\.pdf|var(.+)\.csv)$ index.php

That should do the trick. But it is untested, please verify...
Chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

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

36 542 Users on board!

Forums menu