Forums / Developer / Where to create generated files / Comment57607
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 Exponential 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