[Mono-devel-list] mod_mono configuration blues

Oliver Weichhold oliver at weichhold.com
Tue Aug 10 15:17:34 EDT 2004


I'm currently evaluating mod_mono 1.0 / xsp 1.0 / mono 1.0 / apache 1.3.31 on a debian sarge box. 

I had a great deal of trouble to get even the smallest web application to work even after reading man pages, the mod_mono install readme and various web tutorials. I finally managed to get two small aspnet web applications to work (see /etc/httpd.conf snippet below).

I took a few notes during my journey and would like to know if I did something wrong/inefficient.

- MonoApplicationsConfigFile: appears to be broken
- MonoApplicationsConfigDir: same
- MonoApplications: applications are separated by comma and NOT by semicolon like the man page states!!
- What are the <vhost> and <vport> tags in a xml webapp file are for? Does xsp somehow communicate them back to apache to create a virtual host on the fly?

-- Snipped from my /etc/apache/httpd.conf that enables two aspnet applications to work side by side

###################################
# Mono related config
###################################

AddModule mod_mono.c
MonoServerPath "/usr/local/bin/mod-mono-server.exe"
MonoExecutablePath "/usr/bin/mono"
# NOTE: the applications are separated by comma and NOT by semicolon like the man page states!!
MonoApplications "/authtest:/home/www-data/authtest,/aspxtest:/home/www-data/aspxtest\
"

###################################
# Application: authtest

Alias /authtest "/home/www-data/authtest"
<Location /authtest>
        AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
</Location>

###################################
# Application: aspxtest

Alias /aspxtest "/home/www-data/aspxtest"
<Location /aspxtest>
        AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
</Location>





More information about the Mono-devel-list mailing list