[Mono-dev] mod_mono Configuration Question
jonel at rientongroup.com
Wed Jan 25 10:11:09 EST 2006
>From the INSTALL file in the source directory of mod_mono, you can replace
the SetHandler line below with
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
but this will make PathInfo unusable.
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of
stephen at covidimus.net
Sent: Wednesday, January 25, 2006 8:58 AM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-dev] mod_mono Configuration Question
There doesn.t seem to be an ASP-on-mono or webforms list at
http://mono-project.com/Mailing_Lists, so I.m sending this to the devel list
(to which I was already subscribed). Please redirect me if there.s a more
appropriate place to ask the question.
I.m running mono 1.1.10 w/ Apache 2 and mod_mono. When I try to directly
access a .cs file contained in that directory, I get a 403, which is what I
expect. I want to turn that behavior off for a particular subdirectory in
that tree, though (an examples directory). Adding an .htaccess in that
directory with .RemoveHandler .cs. didn.t work. I put some syntax errors in
that .htaccess file and still got the 403 (rather than an expected 500), so
my guess is that mod_mono is handling everything below that directory and
Apache never sees the .htaccess. So, how do I either get that directory
back into Apache.s hands, or alternatively, tell mod_mono to serve .cs files
from that directory?
Here.s my Apache configuration:
LoadModule mono_module modules/mod_mono.so
AddHandler mono .aspx .ashx .asmx .ascx .asax .config .ascx
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.22/239 - Release Date: 1/24/2006
More information about the Mono-devel-list