Download pdf files instead of browser

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
AndreAmorim
-


Joined: 27 Jan 2014
Posts: 2

PostPosted: Wed Feb 19, 2014 5:57 pm    Post subject: Download pdf files instead of browser Reply with quote

There is some configuration in abyss to download pdf files instead of opening them???
Back to top View user's profile Send private message
Axis
-


Joined: 29 Sep 2003
Posts: 336

PostPosted: Thu Feb 20, 2014 12:14 am    Post subject: Reply with quote

Hello AndreAmorim--

No, this is a browser issue.

Regards,
Axis
Back to top View user's profile Send private message
aprelium-support
-


Joined: 20 Feb 2009
Posts: 356

PostPosted: Fri Mar 14, 2014 6:42 pm    Post subject: Re: Download pdf files instead of browser Reply with quote

AndreAmorim wrote:
There is some configuration in abyss to download pdf files instead of opening them???


This is not a Web server issue. But you can force downloading a PDF by outputting some special HTTP headers:

Code:

Content-type: application/pdf
Content-disposition: attachment; filename="file.pdf"


You could output these using a script or even declare these two as custom HTTP headers for virtual path *.pdf (see http://www.aprelium.com/data/doc/2/abyssws-win-doc-html/hosts-configuration.html#HOSTS-GENERAL-ADVANCED-CUSTOMHEADERS .)
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group