[Mono-list] Mod_Mono Help

Antonio Santana antjensavwork@hotmail.com
Fri, 20 Aug 2004 12:28:50 -0500


I put all my Mono conf additions like so in the httpd.conf:

#MONO SECTION WITH DEMO
LoadModule mono_module /usr/modules/libmod_mono.so
Alias /demo "/usr/share/doc/xsp/test"
MonoApplications "demo:/usr/share/doc/xsp/test"
<Location /usr/share/doc/xsp/test>
     SetHandler application/x-httpd-mono
</Location>

I hope this helps.  I appreciate the help!

Antonio


>From: Aleksandar Radulovic <maurice.chavez@gmail.com>
>Reply-To: Aleksandar Radulovic <maurice.chavez@gmail.com>
>To: Antonio Santana <antjensavwork@hotmail.com>
>CC: mono-list@lists.ximian.com
>Subject: Re: [Mono-list] Mod_Mono Help
>Date: Fri, 20 Aug 2004 15:08:54 +0000
>
>Antonio,
>
>Have you loaded the mono module correctly and added a handler for
>.aspx pages or the handler for the /demo location?
>
>You maybe need to do something like:
>  SetHandler application/x-httpd-mono
>
>Maybe you can paste a config block from httpd.conf so we can take a
>better look?
>
>alex.
>--
>Pozdrav / Regards
>Aleksandar
>
>On Fri, 20 Aug 2004 08:06:36 -0500, Antonio Santana
><antjensavwork@hotmail.com> wrote:
> > I have success with installing mod_mono and I have it tied into Apache.  
>I
> > have an Alias /demo pointing to the xsp/test folder that came with mono. 
>  I
> > go to my browser and try accessing my alias by doing the following:
> > http://127.0.0.1/demo/index.aspx The index.aspx page is returned, but is
> > displayed in code form and not Rendered HTML.  I'm sure I am missing 
>some
> > sort of setting in the httpd.conf.  I hope someone can help.
> >
> > Thanks!
> >
> > Antonio
> >
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >