[Mono-list] mod_mono demo configuration Question

Gonzalo Paniagua Javier gonzalo@ximian.com
Sun, 20 Jun 2004 21:04:58 +0200

El jue, 17-06-2004 a las 18:39, Andrew Arnott escribió:
> It looks like your <Location /demo1> tag is probably wrong.  "/demo1"
> should not be the virtual directory, but the physical directory on the
> hard drive.  Try that.  I'm not an expert with Apache, I'm afraid.  But
> maybe it's worth a shot.

Wrong asnwer. See
> ----
> I posted a comment about a mod_mono demo configuration issue at
> gotmono.com 
> and I thought I post it here too to get some responses. My question is
> that, 
> why is it that when I change the following httpd.conf configuration:
> Alias /demo "/usr/share/doc/xsp/test"
> MonoApplications "/demo:/usr/share/doc/xsp/test"
> <Location /demo>
>    SetHandler mono
> </Location>
> to:
> Alias /demo1 "/usr/share/doc/xsp/test"
> MonoApplications "/demo1:/usr/share/doc/xsp/test"
> <Location /demo1>
>    SetHandler mono
> </Location>
> the asp.net (.aspx) files are not being processed/displayed correctly.
> The 
> raw codes and HTML tags are being displayed instead of rendering it in a
> browser? "demo1" is just a sample. It could be anything. Also, this
> wasn't 
> the case in mod_mono-0.9 and prior to it. Comments are highly
> appreciated. 
> Thanks.

You have to kill mod-mono-server and restart apache after this change.