How to make htaccess set file type on a particular file?

Posted by kamziro on Stack Overflow See other posts from Stack Overflow or by kamziro
Published on 2010-04-05T00:16:24Z Indexed on 2010/04/05 0:23 UTC
Read the original article Hit count: 598

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about apache

Related posts about htaccess