[Mono-dev] mod_mono, fast_cgi and configuration.

Ted Milker ted at dsndata.com
Tue May 8 09:30:17 EDT 2007


Miguel de Icaza wrote:
> Do you have some ideas on what we could do to make mod_mono simpler to
> configure?  
>
> And do people have some thoughts on what we could do to improve
> mod_mono?  Which areas are particularly weak, and what can we do to
> improve it? 
I know you directed the first question at Robert but as a new user to 
mod_mono, I do not find the configuration complicated once it is 
working.  The biggest problem I faced was that the documentation to get 
a working mod_mono apache configuration is spread out throughout 
http://www.mono-project.com/Mod_mono and you have to figure it out for 
yourself.  There is also a lot of out-dated information on that page for 
old versions of mod_mono(see the Paths section, for instance).  I think 
the page just needs to be trimmed down and streamlined.  But the apache 
configuration itself is pretty straight forward, here is mine right now:

        <Directory "/www/mono-test">
                Order allow,deny
                Allow from all
        </Directory>

        Alias /test "/www/mono-test"
        AddMonoApplications test "/test:/www/mono-test"
        MonoServerPath test /usr/local/bin/mod-mono-server2

        <Location /test>
                MonoSetServerAlias test
                SetHandler mono
        </Location>

As far as improvements, the one thing I would love to see is dynamic 
recompilation of code behind files.  It kind of sucks right now that I 
have to restart my server through mod_mono Control Panel page for every 
code update when I am just playing with stuff in a shell.  I do not know 
how feasible it would be to support this but it sure would be nice.  If 
this is a web.config issue, I would love to be pointed in the right 
direction.



More information about the Mono-devel-list mailing list