[Techtalk] configuring Apache2 for pdf
Helen Rosseau
hrosseau at rogers.com
Fri Jun 11 07:58:58 EST 2004
I had a typo the first time I did this. It does say that it is a pdf file and
to use the default application for pdf
Helen
susebox:/opt/mozilla/lib # wget -S http://www.blackburnhamlet.ca/banjun04/
pg1.pdf
--07:55:49-- http://www.blackburnhamlet.ca/banjun04/pg1.pdf
=> `pg1.pdf'
Resolving www.blackburnhamlet.ca... done.
Connecting to www.blackburnhamlet.ca[69.198.158.16]:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.1 200 OK
2 Date: Fri, 11 Jun 2004 11:50:22 GMT
3 Server: Apache/2.0.47 (Linux/SuSE)
4 Last-Modified: Thu, 10 Jun 2004 22:10:57 GMT
5 ETag: "4353b-11ac0-e5ab3e40"
6 Accept-Ranges: bytes
7 Content-Length: 72384
8 Keep-Alive: timeout=15, max=100
9 Connection: Keep-Alive
10 Content-Type: application/pdf
100%
[=================================================================================>]
72,384 45.37K/s ETA 00:00
07:55:51 (45.37 KB/s) - `pg1.pdf' saved [72384/72384]
On Thursday 10 June 2004 14:53, Cynthia Kiser wrote:
> Sounds like it might be a mime configuration issue. Ask the
> complainers if they can give you an example url that works the way
> they expect (to rule out browser strangeness) and then run "wget -S
> $URL" against both the "good" and your url. See if you get the same
> mime type set for both. If not, then poke around the Apache docs until
> you find out why files with the .pdf extension are not being given the
> correct mime type.
>
> Quoting Helen <hrosseau at rogers.com>:
> > I recently have been receiving complaints from people accessing my web
> > site that they cannot see pdf files in line with their browser. They
> > have to "save target as" and then open the file. I've been searching
> > the apache web site, for a configuration file example or reference to
> > handle this, with no luck.
> >
> > Any suggestions? I am using SuSE9.0 with the default apache2
> > server. Everything else seems to work. I just had to rebuild my server
> > again from a hard drive crash and I had the same problem previously.
> >
> > Helen
More information about the Techtalk
mailing list