
Originally Posted by
JDAhlbom
I've tried to delete that one aswell... And under
<FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
I've deleted "pdf" and "PDF" and tried that aswell.. No luck :/
It works smooth with png, jpg, zip.
But not html, css, pdf etc doesnt work.
NO NO NO

you don't DELETE the .htaccess file!!!!!!!!
and you DON'T want to delete these commands (it should be OBVIOUS why if you read the comments -- I've highlighted the relevant portions)
Code:
# deny *everything*
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>
# but now allow just *certain* necessary files:
<FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
Order Allow,Deny
Allow from all
</FilesMatch>
html, css, WON'T work because they are NOT in the allowed files list. My suggestion is to restore the default .htaccess file for the downloads folder that comes with Zen Cart.
AND
IF you've deleted or monkeyed with ANY of the other .htaccess files, you need to restore those with the ones that come with Zen Cart too..