[Mono-list] Mod_mono syntax for multiple webapps
Arne Claassen
mono@claassen.net
Tue, 10 Aug 2004 08:48:18 -0700
Huh, maybe the docs have changed then, because my man page for mod_mono says
'see xsp' and xsp says semicolon not comma:
--applications APPS
A semicolon separated list of virtual directory and real
direc-
tory for all the applications we want to manage with
this
server. The virtual and real dirs. are separated by a colon.
The
default value is â/:.â.
I'll try comma and then try the MonoApplicationsConfigFile instead
thanks,
arne
----- Original Message -----
From: "Daniel Freund" <daniel.freund@zkrd.de>
To: <mono-list@lists.ximian.com>
Sent: Tuesday, August 10, 2004 12:40 AM
Subject: Re: [Mono-list] Mod_mono syntax for multiple webapps
> According to the man page you have to use a comma separated list
> Your example would be:
>
> MonoApplications
> "/demo:/usr/share/doc/xsp/test,/blog:/data/vhosts/test01/blog"
>
> As an alternative you can use a config file. Instead of the
> MonoApplications-directive use:
>
> MonoApplicationsConfigFile "/usr/local/apache/conf/webapps/config.xml"
>
> The config.xml would look like this:
>
> <apps>
>
> <web-application>
> <name>your.server.name</name>
> <vhost>your.server.name</vhost>
> <vpath>/demo</vpath>
> <path>/usr/share/doc/xsp/test</path>
> </web-application>
>
> <web-application>
> <name>your.server.name</name>
> <vhost>your.server.name</vhost>
> <vpath>/blog</vpath>
> <path>/data/vhosts/test01/blog</path>
> </web-application>
>
> </apps>
>
> You can find more infos in the man page and in the mod_mono INSTALL-file
>
> have fun,
>
> /daniel
>
> Arne Claassen schrieb:
> > I've tried it a number of ways, but i seem to only be able to run one
> > webapp with mod_mono.
> >
> > If i do
> >
> > MonoApplications "/demo:/usr/share/doc/xsp/test"
> > MonoApplications "/blog:/data/vhosts/test01/blog"
> >
> > only blog runs.
> >
> > If i try to combine it as described in the man page for xsp like this
> >
> > MonoApplications
> > "/demo:/usr/share/doc/xsp/test;/blog:/data/vhosts/test01/blog"
> >
> > neither runs.
> >
> > Would using the MonoApplicationsConfig* options instead work or is
> > single webapp a current limitation?
> >
> > thanks,
> > arne
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>