
Originally Posted by
adiamond
Ok, it is properly creating the export .csv file, and I can download it manually via ftp. If I left click the "Download" link I get a 500 error, and if I right click the Download link and do a "save as" the file is filled with the same 500 error. So, I believe it has something to do with adding the proper permissions in my .htaccess file, in the temp directory. I read something in the instructions about adding "allow" in my .htaccess file for .txt and .csv files, but I'm not sure what code I need to add to my .htaccess file to accomplish this.
Thanks!
You can put an .htaccess in your temp folder (say under your secret admin). This has worked for me (someone may have a cleaner version):
Code:
DirectoryIndex index.php
# deny *everything*
<FilesMatch ".*\..*">
Order Allow,Deny
# Deny from all
</FilesMatch>
# but now allow just *certain* necessary files:
<FilesMatch "(^$|^favicon.ico$|.*\.(php|js|css|jpg|gif|png|csv|txt|log)$)">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore */*
# The following makes adjustments to the SSL protocol for Internet Explorer browsers
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
Bookmarks