[Mono-devel-list] ModMono installation

Jeremiah McElroy jeremiah at facility9.com
Tue Sep 2 12:59:51 EDT 2003

Daniel Lopez answered this one for me a day ago:


Can you try using mod_mono_unix for now? It is included in the same package
I havent had a chance to bring mod_mono up to date with latest mono release.
I also believe Gonzalo fixed some of those errors in CVS"

Hope that helps.

-----Original Message-----
From:	Christopher Keith Fairbairn [mailto:ckf13 at student.canterbury.ac.nz]
Sent:	Tue 9/2/2003 11:05 AM
To:	mono-devel-list at lists.ximian.com
Subject:	[Mono-devel-list] ModMono installation

I am attempting to get the ModMono apache module installed but am having
trouble. At the moment page requests such as index.aspx are retuning a
blank page and the apache logs are indicating a HTTP 200 response...
i.e. success. there is no easily visible error in the log files (even
with apache set to the debug log level). However I'm not discounting the
fact that it's possibly something dumb I've done in the configuration of

I first went with the XSP hosting option to verify a working setup, and
successfully had that up and running executing ASPX source, but try as I
might I havn't figured out how to get ModMono working.

I downloaded the mod_mono 0.3.7 RPMs for Red Hat 8.0 from
www.apacheworld.org/modmono which could be part of the problem, as they
state they work with mono 0.24 while I'm using 0.26... but they
installed fine without any dependency problems

Info which might be of use...

[root at shazam chris]# rpm -q mono mono-devel mod_mono httpd httpd-devel

[root at shazam html]# ls -la /var/www/html
... other unrelated directories ...
drwxr-xr-x    3 apache   apache       4096 Sep  2 22:49 mono

[root at shazam www]# ls -la /var/www/.wapi
total 20
drwx------    2 apache   apache       4096 Sep  3 02:14 .
drwxr-xr-x   10 root     root         4096 Sep  2 20:58 ..
-rw-------    1 apache   apache     540788 Sep  3 02:14 shared_data-1-0
-rw-------    1 apache   apache          8 Sep  3 02:14

/var/www/html/mono is where I've copied the test directory from a CVS
checkout of the XSP project, and is where my httpd.conf setup is
pointing ModMono to...

I've verified that my httpd.conf is loading /etc/httpd/conf.d/mono.conf,
so all appears to be ok.

The rest of the webserver hosted documents (static HTML and PHP mainly)
is working fine.

I have gone through the FAQ at www.apacheworld.org and tried the various
suggestions with respect to commenting out parts of various config

What should I attempt to do next with respect to attempting to resolve
this? Would it be easier if I attempted to build ModMono from source?
I'm willing to do that, I just though I'd try the RPMs first, as the
last time I attempted to build the entire mono framework from scratch I
ran into some "nasty" configuration problems.

I have been playing around with mono for about a three months or so now
on non ASP.NET related endeavours, and in fact it is my only "contact"
with the .NET environment outside of work.

The reason why I am attempting to get ModMono up and running at home
(apart from liking the ASP.NET development model), is to quietly start
seeing how difficult it would be to "port" (if that's the right word for
it) some of our commercial web applications into a situation where they
support more hosting options than IIS under Windows.

Christopher Fairbairn

Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

More information about the Mono-devel-list mailing list