note 75299 deleted from ref.pdf by tularis
| From: | tularis@php.net | Date: | Fri, 25 May 2007 23:00:07 +0000 |
| Subject: | note 75299 deleted from ref.pdf by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126919@lists.php.net to get a copy of this message | ||
Note Submitter: contact at spamno dot noastudio dot nl
----
I was having a hard time streaming pdf to my browser till I discovered. The plugin looks at the
extension for recognizion of a pdf file rather the the file header.
I had apache with mod_rewrite on.
for example:
/doc/<name>/ was converted in /doc/foo.pdf
The result was just a text print of the pdf file in the browser.
the extension must be in the url (.pdf) for the plugin to load so:
/doc/foo.pdf without mod_rewrite worked fine.
Maybe it saves someone time :)