我已经开始使用Lighttpd,有一个.htaccess
文件可以更改响应头信息。
<IfModule mod_headers.c>
Header unset Content-Type
Header unset Content-Disposition
Header set Content-Disposition attachment
Header set Content-Type application/octet-stream
Header add Content-Type application/force-download
Header add Content-Type application/download
Header unset Content-Transfer-Encoding
Header set Content-Transfer-Encoding binary
</IfModule>
我该如何将这个翻译成适用于 Lighttpd 的代码?