[Mono-list] Treating .htm as .aspx with Apache ?

Gavin Hamill gdh at laterooms.com
Mon Feb 20 07:20:58 EST 2006


Arg, I missed a paragraph!

Gavin Hamill wrote:
> Should this be possible?
> 
> When I added  AddType application/x-asp-net .htm  to the relevant 
> virtual host and restarted apache, I immediately saw any 404's for .htm 
> files change from Apache's built-in response to the Mono 'Server error 
> in '/' application - File '/rt.htm' not found.' one..

... However, when I just 'cp rt.aspx rt.htm', and then request rt.htm 
from a browser, I get sent the source of the htm file, instead of having 
it parsed + run by Mono.

gdh


More information about the Mono-list mailing list