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

Hector Gonzalez wrote:
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 -----
Sent: Thursday, September 16, 2004 5:40 AM
Subject: Re: [Mono-list] add .asp to mono handler

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>
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.

Reply via email to