views:

13

answers:

1

So what I need to do is make it so a html file (without the html extension) gets viewed as an html file.

I had this line:

AddType application/msword mypage

but apparently that last argument in .htaccess only supports extensions. Is there a way to have that thing work on a particular file?

+1  A: 
<Files nosuffix>
DefaultType text/html
</Files>

References: DefaultType and Files.

toscho