[Mono-list] Treating .htm as .aspx with Apache ?
gdh at laterooms.com
Mon Feb 20 07:10:03 EST 2006
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..
Now, should I be able to do this, or is there something extra? I don't
want to use mod_rewrite because it only makes things harder in the long run.
As to why we want .htm treated by Mono, blame our SEO people who reckon
.htm sites will fare better in Der Uberindex that is Google. :/ (yes, I
already tried to talk them out of it :)
More information about the Mono-list