[Mono-list] add .asp to mono handler
Hector Gonzalez
hgonzalez@quadgrafix.com
Wed, 15 Sep 2004 17:56:09 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_005C_01C49B4D.47B33350
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Scott, I tried that and It didn't work, but I think what it did was =
pretty much what I already had?, it is serving me the files as unknown, =
just as a downloadable file, not parsing it at all.
----this is what I had previously
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .asp
thanks
-Hector
----- Original Message -----=20
From: Scott Mohekey=20
To: Hector Gonzalez=20
Cc: mono-list@lists.ximian.com=20
Sent: Thursday, September 16, 2004 5:40 AM
Subject: Re: [Mono-list] add .asp to mono handler
Hector Gonzalez wrote:=20
Hello, I'm using apache with mod_mono and everything works great, =
but I have=20
an old website that has all .asp extensions, (we want to keep the=20
extensions), is there any way for me to add the .asp extension to =
the list?=20
maybe I'm missing something in the mono-side, not just httpd.conf =
apache,=20
not sure..
thanks a lot
Hector=20
The following will work:
<IfModule mod_mime.c>
AddHandler mono .asp
</IfModule>
------=_NextPart_000_005C_01C49B4D.47B33350
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Scott, I tried that and It didn't =
work, but I=20
think what it did was pretty much what I already had?, it is serving me =
the=20
files as unknown, just as a downloadable file, not parsing it at=20
all.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>----this is what I=20
had previously</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>AddHandler mono .aspx .ascx .asax .ashx =
.config .cs=20
.asmx .asp</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Hector</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dscott.mohekey@telogis.com=20
href=3D"mailto:scott.mohekey@telogis.com">Scott Mohekey</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dhgonzalez@quadgrafix.com=20
href=3D"mailto:hgonzalez@quadgrafix.com">Hector Gonzalez</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A =
title=3Dmono-list@lists.ximian.com=20
=
href=3D"mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>=
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, September 16, =
2004 5:40=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Mono-list] add =
.asp to mono=20
handler</DIV>
<DIV><BR></DIV>Hector Gonzalez wrote:=20
<BLOCKQUOTE cite=3Dmid003401c49b62$c99ac440$ad00a8c0@oneal =
type=3D"cite">
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
<STYLE></STYLE>
<DIV>Hello, I'm using apache with mod_mono and everything works =
great, but I=20
have <BR>an old website that has all .asp extensions, (we want to =
keep the=20
<BR>extensions), is there any way for me to add the .asp extension =
to the=20
list? <BR>maybe I'm missing something in the mono-side, not just =
httpd.conf=20
apache, <BR>not sure..<BR><BR>thanks a lot<BR>Hector =
</DIV></BLOCKQUOTE>The=20
following will work:<BR><BR><IfModule =
mod_mime.c><BR> =20
AddHandler mono =
.asp<BR></IfModule><BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_005C_01C49B4D.47B33350--