[prev in list] [next in list] [prev in thread] [next in thread] 

List:       publicfile
Subject:    Re: mime-types
From:       richard lucassen <mailinglists () lucassen ! org>
Date:       2002-09-23 13:22:27
[Download RAW message or body]

On Monday 23 September 2002 15:06, you wrote:

> > But applying Uwe Ohse patch does noet work. Maybe I'm doing
> > something wrong:
>
> You certainly are.
>
> > mkdir /public/httpd/env
> > echo "\"image/jpeg\"" > /public/httpd/env/CT_jpg
> > echo "\"image/jpeg\"" > /public/httpd/env/CT_JPG
>
> I can't think of a browser that accepts a Content-Type header like:
>
>   Content-Type: "image/jpeg"
>
> Every browser, however, accepts:
>
>   Content-Type: image/jpeg
>
> See the difference?

Yep that was it. Netscape however accepts the version with "", but 
instead of showing the image, is does a "save as" operation. But now it 
is working correctly :-)

> > I alter the runfile as follows (I add "/usr/local/bin/envdir
> > /public/httpd/env"):
> >
> > #!/bin/sh
> > exec 2>&1
> > exec /usr/local/bin/envdir /public/httpd/env
> > /usr/local/bin/envuidgid qftp softlimit -o20 -d50000 tcpserver
> > -vDRHl0 -b50 -c100 0 80 /usr/local/publicfile/bin/httpd /public/file
>
> Assuming the last three lines are actually on a single line, did you
> remember to restart publicfile after making the above change?

Of course!

Thnx!

Richard.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic