Re: mime-types
Adrian Ho <[email protected]> Mon, 23 Sep 2002 21:06:49 +0800
| Newsgroups | gmane.comp.djb.publicfile |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Sep 23, 2002 at 10:14:52AM +0200, richard lucassen 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? > 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? - Adrian