[Mono-list] "Real" mod-mono documentation?

Matt Ryan mryan@novell.com
Tue, 09 Sep 2003 14:24:04 -0600


Thanks for your help.  I was primarily trying to find the authoritative
source for the documentation, so I didn't include a lot of details about
my problem.

Nevertheless, your information and that of others who replied as well
was crucial.  I've got it up and running now.  Thanks for your
assistance.



-Matt Ryan
Software Engineer
Linux/ZEN Developer Champion
Worldwide Developer Support

Novell, Inc., the leading provider of information solutions
http://www.novell.com

>>> "John (Doc) Soliday" <jlsolida@gapac.com> 9/9/2003 5:58:28 AM >>>
On Mon, 2003-09-08 at 15:58, Matt Ryan wrote:
> I'm having a bit of trouble getting mod-mono working on my system. 
At
> this point, I'm basically wondering to whom I should be referring as
the
> authoritative source.  The installation guide on go-mono.com is
> different than that on the Mod Mono page (apacheworld.org/modmono/),
as
> is the tarball that I can download (0.4 on go-mono.com, 0.3.7 on
> apacheworld.org).
> 
> Can somebody point me in the right direction?

Matt,

I might be able to point you in the right direction, since I just
recently got mod_mono working on my system, but your email has no
details about what trouble you're having.  I've already mentioned on
this list my problems/concerns with the INSTALL instructions, but I
managed (with people from this lists' help) to fumble through it.

To try to point you in the right direction without knowing what
problem(s) you're having, I will presume it's the same or similar
issues
I was having...

1) You must run mono /path_to_xsp/mod-mono-server.exe BEFORE you
    start httpd.  You must run this in the path where the aspx 
    pages/scripts are located or you'll get an error on the current
path
    (At least this was my experience - YMMV)
    This creates the socket /tmp/mod_mono_server which allows Apache
    to talk to the mono (mod_mono) server.  You'll need to change the
    permissions or ownership (more secure) of the file because it's
    owned by root vs. apache.  I created a script to do this that I
    can send if you can't find it on the list archive.  If you don't
    change the ownership, you'll get a "permission denied" error in
    your apache error_log.

2) You must use ONLY mono_unix_module in httpd.conf.  I was attempting
    to use both mod_mono and mono_unix_module (initially I had 
    mod_mono_unix which really fouled things up).  The following are
    the entries I have:
Listen 8080 
LoadModule mono_unix_module /$MONODIR/src/.libs/libmod_mono_unix.so
MonoApplicationUnix /mono /tmp/mod_mono_server
(For me $MONODIR is /usr/local/mod_mono-0.4, but substitute your REAL
directory)

3) I still haven't figured out why (been busy and it hasn't been a
priority) I have to have the aspx pages in two places.  It seems one
piece of mod_mono looks in the base directory where mono is started
and
then one piece looks in the mono directory within it.

Hope this helps!

> 
> 
> -Matt Ryan
> Software Engineer
> Linux/ZEN Developer Champion
> Worldwide Developer Support
> 
> Novell, Inc., the leading provider of information solutions
> http://www.novell.com 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com 
> http://lists.ximian.com/mailman/listinfo/mono-list 
-- 
John (Doc) Soliday
Commerce Services
(404) 652-3343
jlsolida@gapac.com 


_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com 
http://lists.ximian.com/mailman/listinfo/mono-list