[Mono-list] add .asp to mono handler

Scott Mohekey scott.mohekey@telogis.com
Thu, 16 Sep 2004 09:40:53 +0000


This is a multi-part message in MIME format.
--------------080009040408080903080404
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hector Gonzalez wrote:

> Hello, I'm using apache with mod_mono and everything works great, but 
> I have
> an old website that has all .asp extensions, (we want to keep the
> extensions), is there any way for me to add the .asp extension to the 
> list?
> maybe I'm missing something in the mono-side, not just httpd.conf apache,
> not sure..
>
> thanks a lot
> Hector

The following will work:

<IfModule mod_mime.c>
    AddHandler mono .asp
</IfModule>

--------------080009040408080903080404
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hector Gonzalez wrote:
<blockquote cite="mid003401c49b62$c99ac440$ad00a8c0@oneal" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.2180" name="GENERATOR">
  <style></style>
  <div>Hello, I'm using apache with mod_mono and everything works
great, but I have <br>
an old website that has all .asp extensions, (we want to keep the <br>
extensions), is there any way for me to add the .asp extension to the
list? <br>
maybe I'm missing something in the mono-side, not just httpd.conf
apache, <br>
not sure..<br>
  <br>
thanks a lot<br>
Hector </div>
</blockquote>
The following will work:<br>
<br>
&lt;IfModule mod_mime.c&gt;<br>
&nbsp;&nbsp;&nbsp; AddHandler mono .asp<br>
&lt;/IfModule&gt;<br>
</body>
</html>

--------------080009040408080903080404--