Hello everyone,
New source code releases of XSP, the Mono ASP.NET server, and mod_mono are available.
XSP is both a stand-alone ASP.NET server and mod-mono-server, the companion of mod_mono, which is a module that enables ASP.NET pages for Apache.
For this release, we have tried to make Apache configuration easier. As a result you will need to re-read the INSTALL file in mod_mono and update your Apache configuration, as existing installations will break.
The highlights of this release:
There are descriptions of the new configuration directives for mod_mono as well as sample configuration in the mentioned INSTALL file.
XSP 0.11 fixes a bug present in 0.10 version that made Web Services unusable under apache.
Source code:
On CVS the tags are: XSP_0_11, MOD_MONO_0_8
Quick source code installation:
xsp:
$ tar xzf xsp-0.11.tar.gz $ cd xsp-0.11 $ ./configure $ make installmod_mono:
$ tar xzf mod_mono-0.8.tar.gz $ cd mod_mono-0.8 $ ./configure $ make install
If you have installed mono in a prefix different from /usr/local, say /home/jdoe/mono you should pass the argument --prefix=/home/jdoe/mono when running ./configure.
This samples assume that you have mono and mod-mono-server installed in /usr prefix. If you installed it in another prefix, take a look at the documentation on configuration directives for mod_mono.
In Apache 1.3 you will end up with something like:
LoadModule mono_module /usr/lib/apache/1.3/libmod_mono.so AddModule mod_mono.c Alias /mono "/usr/share/doc/xsp/test" MonoApplications "/mono:/usr/share/doc/xsp/test" <Directory /usr/share/doc/xsp/test> SetHandler mono <IfModule mod_dir.c> DirectoryIndex index.aspx </IfModule> </Directory>
With Apache 2.0 you will have something like:
LoadModule mono_module modules/libmod_mono.so Alias /mono "/usr/share/doc/xsp/test" MonoApplications "/mono:/usr/share/doc/xsp/test" <Directory /usr/share/doc/xsp/test> SetHandler mono </Directory>
or like:
LoadModule mono_module modules/libmod_mono.so Alias /mono "/usr/share/doc/xsp/test" MonoApplications "/mono:/usr/share/doc/xsp/test" <Location /mono> SetHandler mono </Location>
Note that the LoadModule and AddModule lines are added automatically when you run make install.
This configuration will run /usr/bin/mod-mono-server with the same user/group as apache.
The following developers contributed to this release:
Gonzalo Paniagua, Jan Jaros, Martin Willemoes Hansen
Big thanks to all the people filing bug reports in bugzilla and trying this out.