[Mono-list] Re: mod_mono doesn't work

Robert Jordan robertj at gmx.net
Sat Mar 11 16:41:43 EST 2006


Matthias,

> within the last days I tried to get mod_mono working with my Apache2
> (2.0.49, SuSE9.0).
> I have a working Mono installation (1.1.13). I tested the mod_mono from
> RPM and I now compiled it for myself.
> The module is definitly loaded at start of apache2 but the handler isn't
> used anytime. I switched the debugging in the module to on and it
> doesn't matter, what I write to mod_mono.conf (i tested
> MonoAutoApplication enabled or disabled, SetHandler mono in various
> positions - the requested URL doesn't use the mono-handler anywhere).
> I've installed many other apache installations and -modules so I know
> the syntax and backgrounds of the apache config directives like
> <directory> or <location>...

This is probably a SuSE 9.0 issue: they have decided to compile
apache with large file support and this requires that
every apache module has to be compiled with large file
support as well.

You have to configure mod_mono as follows:

CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ./configure

because mod_mono's configure apparently doesn't query
the CFLAGS from apxs. I'll fill a bug.

Robert



More information about the Mono-list mailing list