Re: [Mono-list] Mod_mono syntax for multiple webapps

2004-08-10 Thread Daniel Freund
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
  nameyour.server.name/name
  vhostyour.server.name/vhost
  vpath/demo/vpath
  path/usr/share/doc/xsp/test/path
/web-application
web-application
  nameyour.server.name/name
  vhostyour.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  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mod_mono syntax for multiple webapps

2004-08-10 Thread Arne Claassen
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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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
nameyour.server.name/name
vhostyour.server.name/vhost
vpath/demo/vpath
path/usr/share/doc/xsp/test/path
 /web-application

 web-application
nameyour.server.name/name
vhostyour.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  -  [EMAIL PROTECTED]
  http://lists.ximian.com/mailman/listinfo/mono-list
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mod_mono syntax for multiple webapps

2004-08-10 Thread Gonzalo Paniagua Javier
On Tue, 2004-08-10 at 11:48, Arne Claassen wrote:
 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

That wrong help info was updated a while ago.

-Gonzalo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mod_mono syntax for multiple webapps

2004-08-09 Thread Arne Claassen
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  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list