[Mono-list] Hosting Silverlight applications on Apache2
Rolf Bjarne Kvinge
rolflists at ya.com
Wed Jan 30 17:56:00 EST 2008
>
>From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Timothy Parez
>Sent: miércoles, 30 de enero de 2008 23:32
>To: Jeffrey Stedfast
>Cc: mono-list at lists.ximian.com
>Subject: Re: [Mono-list] Hosting Silverlight applications on Apache2
>
>I just remembered that I had already checked this.
>All the casings are correct, still have the same problem.
>
Apache + Mono/ASP.Net + Silverlight applications don't work well together
yet.
Trying to access
http://www.itcrowd.be/silverlight/ClientBin/NetrisSilverEdition.dll I get a
403 error (Error Message: HTTP 403. System.Web.HttpException: Forbidden).
What's happening is that Mono/ASP.Net is handling the dll, and preventing it
from being downloaded.
Rolf
>Timothy
>On Jan 30, 2008 6:49 PM, Timothy Parez <timothyparez at gmail.com> wrote:
>I'll check the filenames and let you know if it works :)
>
Thnx.
On 30 Jan 2008, at 18:33, Jeffrey Stedfast wrote:
> The only problem I've come across hosting Silverlight apps over
> lighttpd
> (did feel like configuring Apache for local testing) was filename case
> sensitivity.
>
> IIS seems to be case insensitive while lighttpd (and likely Apache)
> are
> not.
>
> Also, fwiw, I didn't have to add any mime types.
>
> Jeff
>
> On Wed, 2008-01-30 at 18:16 +0100, Timothy Parez wrote:
>> Hi,
>>
>> While this is not purely mono related, I think some of you might be
>> able to help.
>> I had a sample application which worked fine when hosted with IIS,
>> but
>> doesn't work when hosted on Apache2.
>>
>> http://www.itcrowd.be/silverlight/netrissilver.html
>>
>> The exception I get it this:
>>
>> The Page at http://www.itcrowd.be says:
>>
>> Silverlight error message
>> ErrorCode: 1001
>> ErrorType: ParserError
>> Message: AG_E_UNKNOWN_ERROR
>> XamlFile: netris.xaml
>> Line: 11
>> Position: 9
>>
>> If you check out a sample by someone else, also hosted on Apache:
>> http://www.zendurl.com/t/timheuer/v1_1/Default.html
>>
>> You get this
>> The page at http://www.zendurl.com says:
>> Silverlight error message
>> Errorcode: 1001
>> ErrorType: ParserError
>> Message: AG_E_UNKNOWN_ERROR
>> XamleFile: Page.xaml
>> Line: 9
>> Position: 2
>>
>> Quite similar, so I'm guessing it's not my code.
>>
>> I've added the following Mime types to the Apache configuration, but
>> it still doesn't work:
>>
>> AddType application/xaml+xml xaml
>> AddType application/x-ms-application application
>> AddType application/x-ms-xbap xbap
>> AddType application/manifest manifest
>> AddType application/octet-stream deploy
>> AddType application/vnd.ms-xpsdocument xps
>> AddType application/x-msdownload dll
>>
>>
>> Since the Mono team is working on Moonlight,
>> I assume they also know how to host these applications on Linux?
>>
>> It's all client side isn't it? So it shouldn't require Mono/ASP.NET
>> right?
>> (Even though it's an ASP.NET site, so even then it should still work)
>> (Mono is installed on my server. It's version 1.2.6 --with-
>> preview=yes
>> --with-moonlight=yes)
>>
>> Thank you for any suggestions.
>>
>> Timothy.
>> _______________________________________________
>> Mono-list maillist - Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>
More information about the Mono-list
mailing list