[Mono-list] mod-mono-server2 and MonoAutoApplication

Jurek Bartuszek koxta at koxta.net
Thu Nov 9 19:34:10 EST 2006


I've noticed that the path to mod-mono-server is hardcoded after 
compilation of mod-mono. From src/mod_mono.h:

#define MODMONO_SERVER_PATH     MONO_PREFIX "/bin/mod-mono-server"

and then in src/mod_mono.c, add_xsp_server function:

server->server_path = MODMONO_SERVER_PATH;

Because of this, all applications hosted by MonoAutoApplications are 
handled by mod-mono-server. Maybe it would be better to let users 
configure this path using their mod_mono.conf (eg. create a new config 
variable such as MonoAutoApplicationVersion, which would default to '1' 
but could also be set to '2')? Just my $0.02.

Best regards,
Jurek Bartuszek


More information about the Mono-list mailing list