[Mono-list] mod_mono on a custom environment

Alberto Avi alberto.avi at gmail.com
Tue Jun 28 08:44:29 EDT 2005


I tried:

   Alias /test "/var/www/mono"
   AddMonoApplications myapp "/test:/var/www/mono"
   <Location /test>
      SetHandler mono
      MonoSetServerAlias myapp
      Options +Indexes
   </Location>

and don't work. Why ? I like it but I don't understand the
functionality. Sorry for my stupidity.

These two, insteand, work:

   Alias /test "/var/www/mono"
   AddMonoApplications default "/test:/var/www/mono"
   <Location /test>
      SetHandler mono
      MonoSetServerAlias default
      Options +Indexes
   </Location>
...
   #suggested by Adrian Dinu
   Alias /test "/var/www/mono"
   MonoApplications "/test:/var/www/mono"
   <Location /test>
      SetHandler mono
      Options +Indexes
   </Location>
  
Thanks.

Alberto.

On 6/28/05, Gonzalo Paniagua Javier <gonzalo at ximian.com> wrote:
> On Tue, 2005-06-28 at 10:58 +0200, Alberto Avi wrote:
> [...]
> >    Alias /test "/var/www/mono"
> >    AddMonoApplications myapp "/test:/var/www/mono"
> >
> >    <Location /test>
> >       SetHandler mono
> >            Options +Indexes
> >    </Location>
> 
> Inside <Location>, you need 'MonoSetServerAlias myapp'.
> 
> -Gonzalo
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>


More information about the Mono-list mailing list