This is how you can modify your /etc/lighttpd/lighttpd.conf to enable htaccess to force download to spesific file
#vim /etc/lighttpd/lighttpd.conf
add this line to config
## add force download for url DOM
$HTTP["url"] =~ "(.*)\google_open_visual_lab.mp4" {
mimetype.assign = (".mp4" =>"application/octet-stream")
setenv.add-response-header = ( "Content-Disposition" => "attachment" )
}
$HTTP["url"] =~ "(.*)\google_open_hazard_university.mp4" {
mimetype.assign = (".mp4" =>"application/octet-stream")
setenv.add-response-header = ( "Content-Disposition" => "attachment" )
}
ketika file ini menyentuh server kamu maka file ini tidak di stream tapi di download oleh browser.