LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   foo.JPG is sent as application/octet-stream (http://www.litespeedtech.com/support/forum/showthread.php?t=175)

djkoopman 05-06-2005 12:01 PM

foo.JPG is sent as application/octet-stream
 
It appears that files with .JPG suffixes (as opposed to .jpg) are not recognised correctly as image/jpeg even though I have tried various incantations of the sort:-

JPEG,jpeg,jpe,JPG,jpg = image/jpeg

in $SERVER_ROOT/conf/mime.properties

Is this a feature or a bug?

mistwang 05-06-2005 01:14 PM

It is a bug, MIME configuration will be converted lowercase, but treat file suffix case sensitive.

Will make file suffix case insensitive, thanks.

Work around is to use "ForceType" along with a matching context, or use mod_rewirte to force mime type.


All times are GMT -7. The time now is 02:10 AM.