[Mono-list] mod_mono in vhosts
Gonzalo Paniagua Javier
reply.to.the.list.iam.suscribed@notexists.ximian.com
Thu, 24 Mar 2005 21:53:40 -0800
On Fri, 2005-03-25 at 16:15 +1100, Nik Derewianka wrote:
> Gonzalo Paniagua Javier wrote:
>
> >You're probably using an "old" version of mod_mono, as this was a bug in
> >one of the latest releases (not the last one ;-).
> >
> >
> Suse 9.2 with mono 1.1.5, mod_mono 1.0.7 (installed via rpm -Uvh)
>
> using apache2.0.50
>
> Still no go with the following in my vhost file:
>
> Alias / "/srv/www/vhosts/mojo.e-media.com.au/"
> MonoApplications "/:/srv/www/vhosts/mojo.e-media.com.au"
> <Location />
> SetHandler mono
> </Location>
>
> With the error:
> [error] Not running mod-mono-server.exe because no MonoApplications,
> MonoApplicationsConfigFile or MonoApplicationConfigDir specified.
>
> Works fine when i move the above directives back into my default-server.conf
>
> Can i trust rpm -Uvh ?? Should i do a full uninstall and reinstall ? Or
> is mod_mono still buggy ?? (cant find the previous bug atm)
It works for me with current version.
Can you try:
MonoApplications mojo "/:/srv/www/vhosts/mojo.e-media.com.au"
<Location />
MonoSetServerAlias mojo
SetHandler mono
</Location>
and see if that works for you?
-Gonzalo