Dear All,

I am having a hard time trying to set up a site which is serving several 
virtual hosts (Apache's name based virtual hosting) BUT using ONE 
instance of MONO server.

Having several instances of mono server running made my web server's 
memory shoot up. I am not sure if this is expected either.

My current settings are as follows:

<VirtualHost *:80>
     [...]

     ServerName  site1.example.com

     DocumentRoot /docroot1
                                                        
     MonoApplications "/:/docroot1"

     [...]
</VirtualHost>

<VirtualHost *:80>
     [...]

     ServerName  site2.example.com

     DocumentRoot /docroot2
                                                        
     MonoApplications "/:/docroot2"

     [...]
</VirtualHost>

This config creates 2 instances of mono. I have tried this also:

<VirtualHost *:80>
     [...]

     ServerName  site1.example.com

     DocumentRoot /docroot1
                                                        
     MonoApplications site "/:/docroot1"

     [...]
</VirtualHost>

<VirtualHost *:80>
     [...]

     ServerName  site2.example.com

     DocumentRoot /docroot2
                                                        
     MonoApplications site "/:/docroot2"

     [...]
</VirtualHost>

In this case what happens is only one applications is active, meaning:

http://site1.example.com -> would show up

http://site2.example.com -> would show an Internal Server Error.

How am I supposed to configure this? If this is just not possible, am I 
supposed to expect high RAM usage? Any recommendations about this?

Thank you so much!
unai

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to