[Mono-dev] mod-mono help

Edward C. Eisenbrey nede at aliquant.com
Fri Mar 10 14:28:16 EST 2006


In the <Location> area of every mod_mono app you configure after the
first, you need a MonoSetServerAlias property.  So it would look like
this:


Alias /~pink "/home/pink/domains/SOMEDOMAIN.COM/public_html"
AddMonoApplications default
"/~pink:/home/pink/domains/SOMEDOMAIN.COM/public_html"
<Location />
  SetHandler mono
</Location>

Alias /~master "/home/master/domains/SOMEOTHERDOMAIN.COM/public_html"
AddMonoApplications master
"/~master:/home/master/domains/SOMEOTHERDOMAIN.COM/public_html"
<Location /~master>
  MonoSetServerAlias master
  SetHandler mono
</Location>


Hope that helps!



-----Original Message-----
From: Adi Spivak [mailto:pchelper at serv.co.il] 
Sent: Friday, March 10, 2006 1:02 PM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-dev] mod-mono help

Hello.
i have a configuration problems.
i cannot make the mod-mono apply to two diractorise.
i have set the configuration like this:

<VirtualHost SOMEDOMAIN.COM:80>

        Alias /~pink "/home/pink/domains/SOMEDOMAIN.COM/public_html"
        AddMonoApplications default 
"/~pink:/home/pink/domains/SOMEDOMAIN.COM/public_html"
 <Location />
     SetHandler mono
   </Location>


<VirtualHost SOMEOTHERDOMAIN.COM:80>
        Alias /~master 
"/home/master/domains/SOMEOTHERDOMAIN.COM/public_html"
        AddMonoApplications master 
"/~master:/home/master/domains/SOMEOTHERDOMAIN.COM/public_html"
   <Location /~master>
        SetHandler mono
   </Location>

but only the one that is set as
<Location />
     SetHandler mono
   </Location>
is the one to work.
how can i make them both run?
what am i doing wrong?





More information about the Mono-devel-list mailing list