[Mono-dev] mod-mono help

Adi Spivak pchelper at serv.co.il
Fri Mar 10 15:22:58 EST 2006


it does not help.
all that happends is that on alias pink all is ok and working
but on alias master all i get is a file text dump (i get the source code 
displayed as the web page as if it was a text file).

thanks


> 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?
>
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2852 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060310/29e0c737/attachment.bin 


More information about the Mono-devel-list mailing list