[Mono-list] Configuring apache to run mod_mono
Gonzalo Paniagua Javier
gonzalo@ximian.com
Sun, 14 Sep 2003 13:20:46 +0200
El jue, 11-09-2003 a las 20:08, Sergio Blanco Cuaresma escribió:
> El mar, 19-08-2003 a las 10:15, Øyvind Hvamstad escribió:
> > On Tue, 2003-08-19 at 03:43, Gonzalo Paniagua Javier wrote:
> >> Hi, When starting apache with mod_mono I get:
> >>
> >> Can't locate API module structure `mono_module' in file
> >> /usr/local/lib/libmod_mono.so: /usr/sbin/apache: undefined symbol:
> >> mono_module
> >
> > > This is apache 1.3, i guess. You're not the first one running into this
> > > trouble. I'll take a look at this issue ASAP. Thanks for reporting.
> >
> > Well, yes. Though I get the same with apache2.
>
> I have a similar problem with apache2:
>
> sol mod_mono # /etc/init.d/apache2 start
> * Starting apache2...
> Syntax error on line 192 of /etc/apache2/conf/apache2.conf:
> Can't locate API module structure `mono_module' in file
> /usr/local/lib/libmod_mono_unix.so: /usr/lib/libapr-0.so.0: undefined
> symbol: mono_module
> [ !! ]
>
> Is there any solution? Thanks.
There was a bug in the documentation (INSTALL.txt) regarding the
directive name. For mod_mono_unix, something like:
Listen 8080
LoadModule mono_unix_module /home/gpanjav/httpd/modules/mod_mono_unix.so
MonoApplicationUnix /mono /tmp/mod_mono_server
works.
-Gonzalo