Front-end - Accessing an HTML file in the Apache document directory turns into downloading the page?
某草草
某草草 2017-05-16 17:00:38
0
1
654

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?

某草草
某草草

reply all(1)
伊谢尔伦

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template