httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Eric Hagberg)
Subject Re: WEIRD problem with MIME & images & permissions (fwd)
Date Fri, 08 Sep 1995 03:35:15 GMT
At 6:27 PM 9/7/95, Rob Hartill wrote:
>XBITHACK the revenge...
>Forwarded message:
>> If an inline GIF or JPG image file has the user execute bit set, no matter
>> what other permissions are set to (at least such that the server can read
>> the file) then apache returns the MIME type as text/html.  This seems to
>> only be manifested as a problem with NCSA Mosaic for Windows 2.0final beta,
>> which shows the Error! icon instead.  Other browsers seem to ignore the MIME
>> type returned and read the image anyway.

I saw this too, and did the obvious:

find /www -name "*.gif" -exec chmod -x "{}" ";"
find /www -name "*.jpg" -exec chmod -x "{}" ";"

Now it is "fixed"!


View raw message