[Mono-list] mod_mono installation / config problems

White, Solomon Solomon_White@amr-corp.com
Wed, 1 Oct 2003 07:25:57 -0600


Hello all--

I am having difficulty getting mod_mono 0.4 working with redhat 9 / =
Apache 2.0.47 / mono 0.26.

mono seems to be installed and working correctly--I compiled and ran a =
helloworld application just fine.  mod_mono builds fine; =
src/.libs/libmod_mono.so and company are generated successfully, and I =
copied this file to /usr/local/apache/lib.

When building ModMono.dll, I am getting numerous warnings about "can't =
resolve internal call" and errors about "Your mono runtime and corlib =
are out of sync".  However, I saw on a FAQ that these are acceptable, as =
long as the dll is built, and it is.  I copied the dll to /usr/lib.

I added the following to the end of my httpd.conf:

Listen 8080
LoadModule mono_module /usr/local/apache/lib/libmod_mono.so
LoadModMonoDll /usr/lib/ModMono.dll

Alias /mono /usr/local/apache/mono

<Location /mono/*.aspx>
SetHandler application/x-httpd-mono
</Location>

When I try to start apache, I get the following error:

Syntax error on line 1052 of /usr/local/apache/conf/httpd.conf:
Invalid command 'LoadModMonoDll', perhaps mis-spelled or defined by a =
module not included in the server configuration

Any ideas?

Thanks,

Solomon