[Mono-list] Hosting Silverlight applications on Apache2

Jeffrey Stedfast fejj at novell.com
Wed Jan 30 12:33:41 EST 2008


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