After installing Apache 2.2, I put the HTML file in the directory to access it, but instead downloaded the HTML file directly and could not browse the page normally. What is the wrong configuration?
伊谢尔伦2017-05-16 17:02:38
The mime type is not configured.
That is, there is no corresponding relationship between the configuration file extension and the file type.
When you see the http header changes to content-type:text/html
, it means it is normal.