[Mono-dev] Questions about each site getting a mono process/503 errors

Christopher Bergström cbergstrom at netsyncro.com
Sun Nov 13 19:54:10 EST 2005


Joshua Tauberer wrote:

> Christopher Bergström wrote:
>
>> Is there any current way to put each site on it's own process? ( I think
>> this might be key to a temp solution if it's _easy_)
>
>
> Manually, following www.mono-project.com/Mod_mono.
>
I've read that documentation 10x and even just a few minutes ago to see
if there was any revisions..  You may* be able to get a subdirectories
working their own
process, but I have yet to get it working with domains..

Tried googling
Read this as well
http://primates.ximian.com/~gonzalo/mono/blog/files//mod_mono.html (same
page as your link?)
Read posts to mono-list from October
etc...


Here's my results.. So tell me if any of these are not the desired
behavior..

Example 1.

<VirtualHost xxx.xxx.xxx.xxx:80>
   DocumentRoot /sites/example.com/www
   ServerName "www.example.com"
   ServerAlias "example.com"
   MonoApplications default "/:/sites/example.com/www"
   MonoDocumentRootDir "/sites/example.com/www"
   <Location />
     Allow from all
     SetHandler mono
   </Location>
</VirtualHost>

Results in a lot of translations of Error [1].. see bottom.. (Note: this
is the same output as using MonoAutoApplication enabled and commenting
out other configurations relating to mono)

Example 2.

<VirtualHost xxx.xxx.xxx.xxx:80>
   DocumentRoot /sites/example.com/www
   ServerName "www.example.com"
   ServerAlias "example.com"
   MonoApplications example "/:/sites/example.com/www"
   MonoDocumentRootDir "/sites/example.com/www"
   <Location />
     Allow from all
     SetHandler mono
   </Location>
</VirtualHost>

Results in 503 error

Example 3.

MonoApplications default 
"www.netsyncro.com:/:/sites/NetSyncro/netsyncro.com/www"
AddMonoApplications example "www.example.com:/:/sites/example.com/www"

Results in Error [1]

Example 4.

MonoApplications default 
"www.netsyncro.com:/:/sites/NetSyncro/netsyncro.com/www"
AddMonoApplications default "www.example.com:/:/sites/example.com/www"

Results in what I want the configuration working, but all sites run
under one process.. So we go back to step one..

Example 5.
MonoAutoApplication enabled and no other MonoApplications default
configurations

Results in Error [1]


If you change to use an alias then the root of the site is still not
going to work?

<Location /personal>
     Allow from all
     SetHandler mono
</Location>


Error [1] (I will attach the complete error if anyone needs this
translated about 50 times.)

Content-language: es
Content-type: text/html; charset=ISO-8859-1
Body:----------es--
<!--#set var="CONTENT_LANGUAGE" value="es"
--><!--#set var="TITLE" value="&iexcl;Objeto no encontrado!"
--><!--#include virtual="include/top.html" -->

    El enlace requerido no ha sido localizado en
    este servidor.

  <!--#if expr="$HTTP_REFERER" -->

    El enlace en la
    <a href="<!--#echo encoding="url var="HTTP_REFERER" -->">p&aacute;gina
    referente</a> parece tener algun error o ha expirado. Por favor
    comunique al autor de
    <a href="<!--#echo encoding="url var="HTTP_REFERER" -->">la
    p&aacute;gina</a> el error.

  <!--#else -->

    Si usted proporcion&oacute; el enlace de manera manual le solicitamos
    que por favor revise los datos e intentelo de nuevo.

  <!--#endif -->

<!--#include virtual="include/bottom.html" -->
----------es--


Joshua : BTW.. I didn't realize you actually wrote a lot of the patches
vhosts.. Thanks

Am I missing something? If I am... Some documentation online will be
updated/more...


Cheers,

C.



More information about the Mono-devel-list mailing list