Joined: 13 Sep 11
23 Sep 11 1:42 am
As I research in internet to find some suitable solution, I found these finest tricks on how to force a download a pdf. – by adding the following code into your httaccess file.
Header set Content-Disposition attachment
The code will match perfectly for both lower case and upper case PDF extension by using regular expression and OR operator in the following line.
And thats it… You have now the control in Forcing PDF to download.
Hope that helps