[Mono-list] Mod_mono syntax for multiple webapps
Daniel Freund
daniel.freund@zkrd.de
Tue, 10 Aug 2004 09:40:44 +0200
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
>