OT: How to force pdf display, not download?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: PLUG-discuss
Date:  
To: plug-discuss
Subject: OT: How to force pdf display, not download?
How to force pdf display, not download?

I found this answer online, and added the code shown below.
It works with firefox, but not with chrome.

www.devside.net/wamp-server/forcing-a-pdf-or-doc-to-open-in-browser-rather-than-downloading

To force inline viewing of PDF files, edit the website’s HTTP
and HTTPS VirtualHost files, and inside the VirtualHost block
add in configuration:

<LocationMatch "\.(?i:pdf)$">
    ForceType application/pdf
    Header set Content-Disposition inline
</LocationMatch>




---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss