New Mono

Posted on Friday, September 24, 2004 in Uncategorized

Mono 1.0.2 has been released1. Descriptions of the changes are noticably lacking, but the biggy for me is that there is now a package for mod_mono provided. Lack of this has put me off playing with Mono’s implementation of ASP.NET, but now…

One quick upgrade later…

Copied an ASP.NET app off my IIS box, and although I had to play with a few paths to get it working correctly it worked! :) Sort of. :( The application itself worked, but it appears that some of the backend logic fails…

Still, it’s promising, and now I can seriously look at developing sites on Linux on Mono. Cool.

Multiple applications with mod_mono

I didn’t twig this straight away (I didn’t read the docs, just the examples), but if you want to host multiple mod_mono applications you need to separate them with a comma in your MonoApplications directive.

E.g.

 Alias /app1 "/path/to/app1"
 Alias /app2 "/path/to/app2"

 MonoApplications "/app1:/path/to/app1,/app2:/path/to/app2"

 <Directory /path/to/app1>
     SetHandler mono
     DirectoryIndex Default.aspx
 </Directory>

 <Directory /path/to/app2>
     SetHandler mono
     DirectoryIndex SomePage.aspx
 </Directory>

Will enable both http://servername/app1 and http://servername/app2 to work.


1 The release notes refer to installing 1.1.12 though…

2Mono 1.1.1 (development) has also been released – I’ve not looked at it yet though.

Related posts:

Mono eye for the Java guy Balazs Fejes has posted an article on his experiments in... Powered by Mono? OK, it’s not true yet, but it will be…... Using Subversion with Apache Virtual Hosts I’ve been using Subversion for a while through SSH. Whilst... mono::live A new LiveCD has just been released – mono::live 1.0.... Compiling mod_mono under Debian Sarge As part of re-enabling Mono I encountered a strange error...

Related posts brought to you by Yet Another Related Posts Plugin.


Mobilized by Mowser Mowser
Mobilytics