<LocationMatch "\.(?i:pps)$">
ForceType application/vnd.ms-powerpoint
Header set Content-Disposition attachment
</LocationMatch>
ForceType application / vnd.openxmlformats-officedocument.presentationml.slideshow 标题设置内容处理附件
答案 0 :(得分:1)
不确定您希望这些应用的方向,我不是apache用户,但标题操作很简单。选择您的请求/响应事件,匹配相应的字符串,标题操作为:
HTTP::header replace Content-Type application/vnd.ms-powerpoint
HTTP::header insert Content-Disposition attachment