[Mono-list] Problems with MonoApplication

Chris Turchin chris@turchin.net
Tue, 03 Feb 2004 08:31:36 +0100


Hi,

I think the MonoApplication directive is no longer necessary (was it for
the old mod_mono perhaps?). My httpd2.conf file looks like this:

<Directory /data/web/blogx>
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
Alias /blogx /data/web/blogx

AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
.ascx
LoadModule mono_module /usr/lib/apache2-2.0.47/mod_mono.so
MonoUnixSocket /tmp/mod_mono_server

#end

and together with this mod-mono-server script I call in
/etc/init.d/httpd it works fine:

/usr/bin/mono /usr/bin/mod-mono-server.exe --nonstop --root /data/web &
sleep 5 
/bin/chown apache:apache /tmp/mod_mono_server 

perhaps this is not the optimal way to run mod_mono (comments, feedback
or critique welcome), but it has worked for me for a while now.

Cheers,
--chris 

On Mon, 2004-02-02 at 12:09, PCLABO wrote:
> Hi, 
> I have installed mono-0.29, apache2, mod-mono0.6 and xsp-0.8. I
> configure it with the instructions of go-mono.com and apacheworld.org
> and when I try to run the apache I receive the next message:
> 
> 
> 
> Invalid command 'MonoApplication', perhaps mis-spelled or defined by a
> module not included in the server configuration
> 
> 
> 
> The configuration in apache is:
> 
> AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
> LoadModule mono_module /home/isi/apache2/lib/libmod_mono.so
> MonoApplication /mono /usr/local/share/doc/xsp/test
> 
> Alias /mono "/usr/local/share/doc/xsp/test"
> 
> 
> 
> Could someone help me?
> Thanks.
> 
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list