[Mono-list] add .asp to mono handler

Hector Gonzalez hgonzalez@quadgrafix.com
Wed, 15 Sep 2004 18:27:32 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0077_01C49B51.AA2627A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm putting this at root level (also tried at the virtual host), and =
mod_mime was compiled with apache2, it is compiled by default, ("base" =
status: http://httpd.apache.org/docs-2.0/mod/mod_mime.html)

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 6:04 AM
  Subject: Re: [Mono-list] add .asp to mono handler


  Hector Gonzalez wrote:=20
    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>

  Do you have both mod_mime and mod_mono loaded ?

  Also, where are you putting these configuration directives? Inside the =
root server, or a virtual host?

  Scott.

------=_NextPart_000_0077_01C49B51.AA2627A0
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>I'm putting this at root level (also =
tried at the=20
virtual host), and mod_mime was compiled with apache2, it is compiled by =

default, ("base" status: <A=20
href=3D"http://httpd.apache.org/docs-2.0/mod/mod_mime.html">http://httpd.=
apache.org/docs-2.0/mod/mod_mime.html</A>)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Hector</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 6:04=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=3Dmid005f01c49b6e$cf0c63a0$ad00a8c0@oneal =
type=3D"cite">
    <META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
    <DIV><FONT face=3DArial size=3D2>Hi Scott, I tried that and It =
didn't work, but=20
    I think what it did was pretty much what I already had?, it is =
serving me=20
    the files as unknown, just as a downloadable file, not parsing it at =

    all.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>----this is what&nbsp;I=20
    had&nbsp;previously</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>AddHandler mono .aspx .ascx .asax =
.ashx .config=20
    .cs .asmx .asp</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>-Hector</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <BLOCKQUOTE=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV=20
      style=3D"FONT: 10pt arial; font-size-adjust: none; font-stretch: =
normal">-----=20
      Original Message ----- </DIV>
      <DIV=20
      style=3D"BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; =
font-size-adjust: none; font-stretch: normal; moz-background-clip: =
initial; moz-background-origin: initial; moz-background-inline-policy: =
initial"><B>From:</B>=20
      <A title=3Dscott.mohekey@telogis.com=20
      href=3D"mailto:scott.mohekey@telogis.com">Scott Mohekey</A> </DIV>
      <DIV=20
      style=3D"FONT: 10pt arial; font-size-adjust: none; font-stretch: =
normal"><B>To:</B>=20
      <A title=3Dhgonzalez@quadgrafix.com=20
      href=3D"mailto:hgonzalez@quadgrafix.com">Hector Gonzalez</A> =
</DIV>
      <DIV=20
      style=3D"FONT: 10pt arial; font-size-adjust: none; font-stretch: =
normal"><B>Cc:</B>=20
      <A title=3Dmono-list@lists.ximian.com=20
      =
href=3D"mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>=
=20
      </DIV>
      <DIV=20
      style=3D"FONT: 10pt arial; font-size-adjust: none; font-stretch: =
normal"><B>Sent:</B>=20
      Thursday, September 16, 2004 5:40 AM</DIV>
      <DIV=20
      style=3D"FONT: 10pt arial; font-size-adjust: none; font-stretch: =
normal"><B>Subject:</B>=20
      Re: [Mono-list] add .asp to mono 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,=20
        but I have <BR>an old website that has all .asp extensions, (we =
want to=20
        keep the <BR>extensions), is there any way for me to add the =
.asp=20
        extension to the list? <BR>maybe I'm missing something in the =
mono-side,=20
        not just httpd.conf apache, <BR>not sure..<BR><BR>thanks a =
lot<BR>Hector=20
        </DIV></BLOCKQUOTE>The following will work:<BR><BR>&lt;IfModule=20
      mod_mime.c&gt;<BR>&nbsp;&nbsp;&nbsp; AddHandler mono=20
      .asp<BR>&lt;/IfModule&gt;<BR></BLOCKQUOTE></BLOCKQUOTE>Do you have =
both=20
  mod_mime and mod_mono loaded ?<BR><BR>Also, where are you putting =
these=20
  configuration directives? Inside the root server, or a virtual=20
  host?<BR><BR>Scott.<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0077_01C49B51.AA2627A0--