[Mono-dev] xsp + jpeg's

Mark Gallop mark.gallop at gmail.com
Thu Dec 8 09:43:25 EST 2005


Thanks Joe. This will fix my main server which uses mod_mono but I  
would also like to get it going with xsp alone.

Does anybody know how Joe's suggestion translates to xsp?

Cheers,
Mark

On 08/12/2005, at 9:40 PM, Joe Audette wrote:

> I don't use xsp by itself but with mod_mono so this
> may not help if you are using xsp by itself but the
> technique I use is to make mono the handler for the
> directory using SetHandler but over-ride that for
> certain file types using a FilesMatch directive and
> setting the handler for these file types to None so
> that apache is responsible for serving them. You can
> see the syntax in the example Virtual Host file I
> posted in my blog.
> http://www.joeaudette.com/BlogView.aspx? 
> pageid=101&ItemID=205&mid=104&pageindex=
>
> Hope it helps,
>
> Joe
>
> --- Mark Gallop <mark.gallop at gmail.com> wrote:
>
>> Hello All,
>>
>> I am trying to display jpeg images using xsp and
>> mono 1.1.10 (I have
>> also tried previous versions) unfortuneately it only
>> works if the file
>> extension is "jpeg". If it is "jpg" the browser
>> wants to download, not
>> display.
>>
>> This only occurs when loading the image on its own,
>> eg
>> http://127.0.0.1:8080/image.jpg. Other file types,
>> like txt/mov/avi,
>> display correctly.
>>
>> Is this a issue with mime types? Any help would be
>> appreciated.
>>
>> Cheers,
>> Mark
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>>
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>
>
> joe_audette [at] yahoo dotcom
> http://www.joeaudette.com
> http://www.mojoportal.com




More information about the Mono-devel-list mailing list