星期四, 12月 02, 2010

Force Download in Lighttpd

Force Download in Lighttpd

$HTTP["url"] =~ "\.jpg$" {
setenv.add-response-header = (
"Content-Disposition" => "attachment"
)
}

沒有留言: