Zen Cart Logo
Forums / General Questions / Is there something special about PDFs?

Is there something special about PDFs?

Views: 485

Results 1 to 4 of 4
18 Sep 2015, 1:52 AM
#1
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Is there something special about PDFs?

I have uploaded a PDF catalogue to the images directory and changed the permissions to 777 then 644 but cannot open it in the browser.
http://coolcountryhats.com.au/store/images/Mcdonalds-Catalogue_2015-2016.pdf

The error I'm getting is 403: You don't have permission to access /store/images/Mcdonalds-Catalogue_2015-2016.pdf on this server.

I can view JPGs etc in the same folder. Help?

18 Sep 2015, 2:18 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Is there something special about PDFs?

I have uploaded a PDF catalogue to the images directory
Try placing it in the downloads directory

18 Sep 2015, 2:20 AM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Is there something special about PDFs?

Pdfs are not typically considered images; however, if that is from where you want to try to serve pdf files then need to allow them in the .htaccess file in the images directory... Where you see jpg, gif, etc. You would want to add pdf in the same format(s) and style.

18 Sep 2015, 2:23 AM
#4
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: Is there something special about PDFs?

kobra:

Try placing it in the downloads directory

That worked, thanks kobra.