描述:配置允许缓存哪些MIME类型的响应体。


语法:SecResponseBodyMimeType MIMETYPE MIMETYPE ...


用法示例:SecResponseBodyMimeType text/plain text/html text/xml


使用范围:所有配置文件中均可使用


版本:2.0.0


libModSecurity支持:是


默认:text/plain text/html


可以配置多个SecResponseBodyMimeType指令来添加多个MIME类型。 使用SecResponseBodyMimeTypesClear指令可以清除先前配置的MIME类型并重新添加。


注意:希望对响应执行JSON主体进行检查的用户(阶段4)需要将_application/json_添加到SecResponseBodyMimeType。



Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor