If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Allow the download of rar files

Allow the download of rar files

Started by soundfordesigner on 9 Aug 2011, 1:06 PM · Views: 1,016

Results 1 to 2 of 2
9 Aug 2011, 1:06 PM
#1
soundfordesigner avatar

soundfordesigner

New Zenner

Join Date:
Aug 2011
Posts:
1
Plugin Contributions:
0

Allow the download of rar files

I sell sound libraries which consists in really large files and i have to split them into parts like rar does.

I have an 403 error when I download a rar file from my account page.

What I needs to change in the. htaccess of pub folder to allow the .rar file download by the redirect fonction ?

Many Thanks

9 Aug 2011, 2:38 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Allow the download of rar files

Edit the .htaccess in the /pub and /download and add your file extension to the file types allowed on:

<FilesMatch ".*\.(zip|ZIP|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV)$">

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!