开发者

apache2 .htm extension

开发者 https://www.devze.com 2023-01-19 18:45 出处:网络
Since I\'ve installed LAMP stack on ubuntu server with apache2, I\'ve been having a weird issue. Whenever I create a file called filename.html, it renders and displays on browser fine. But whenever I

Since I've installed LAMP stack on ubuntu server with apache2, I've been having a weird issue. Whenever I create a file called filename.html, it renders and displays on browser fine. But whenever I create file with extension .htm, i开发者_运维问答t will prompt the browser (firefox) to save the file.

I've already looked into /etc/mime.types and /etc/apache2/mod-enabled/mime.load


And what's in these files for .htm extension? Can you check what mime-type returned by the Apache? (via browser plugins/sniffer)

After that you will see the issue...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号