[Mono-list] mod_mono installation

mytrix mytrix@net4you.cz
Sun, 13 Mar 2005 22:50:11 +0100


Hi,

I want to run asp.net support on my server (FreeBSD5.3). I have been
installed mono runtime, mcs, mod_mono and xsp server. In http.conf there =
are
these lines:
#-----------------------------------------------------
LoadModule mono_module        modules/mod_mono.so
Alias /demo "/usr/local/share/doc/xsp/test"
MonoApplications "/demo:/usr/local/share/doc/xsp/test"

<Directory /usr/local/share/doc/xsp/test>
  SetHandler mono
  <IfModule mod_dir.c>
    DirectoryIndex index.aspx
  </IfModule>
</Directory>
#-----------------------------------------------------

Then I restart apache and navigate to http://my-server/demo. But it =
doesn`t
work, i get an err 503 Service Temporarily Unavailable. In logs =
(error_log
and /var/log/messages) there are no messages.

When i navigate to http://my-server/demo/index.aspx I get an error =
message
500 Internal Server Error and in /var/log/messages there is a message =
"Mar
13 21:33:34 phoenix kernel: pid 20771 (mono), uid 80: exited on signal =
11".

And at the last. When I switch off apache server and run =
"/usr/local/bin/xsp
--port 80 --root . --applications /test:/usr/local/share/doc/xsp/test" =
it
fails with messages "Segmentation fault (core dumped)".

So, qeuestion is clear, what i do wrong? :( I`m googling, but i wasn`t =
able
to find a howto, which works :(.

Thx.

W Regards
Ji=F8=ED Ad=E1mek