如何在F5中实现这些mime类型 - irules

时间:2016-07-17 11:17:05

标签: mime-types f5 irule

<LocationMatch "\.(?i:pps)$">
             ForceType application/vnd.ms-powerpoint
             Header set Content-Disposition attachment
</LocationMatch>

                 ForceType application / vnd.openxmlformats-officedocument.presentationml.slideshow                 标题设置内容处理附件   

1 个答案:

答案 0 :(得分:1)

不确定您希望这些应用的方向,我不是apache用户,但标题操作很简单。选择您的请求/响应事件,匹配相应的字符串,标题操作为:

HTTP::header replace Content-Type application/vnd.ms-powerpoint
HTTP::header insert Content-Disposition attachment