Apache configuration troubles let unknown file prompt download

xiaoxiao2021-04-05  253

DefaultType Text / Plain

If the web server cannot determine the default type of a document, this usually means that the document uses a non-standard suffix, then the server sends a document to the client browser using the DEFAULTTYPE defined MIME type. The settings here are text / plain, which sets the problem is that if the server cannot judge the MIME of the document, this document is a binary document, but use the text / place format to send back, the browser will open inside It does not prompt to save. Therefore, it is recommended to change this setting to

Application / OCTET-Stream, so browser will prompt users to save.

转载请注明原文地址:https://www.9cbs.com/read-132059.html

New Post(0)