Htaccess rule is not working

hi, i am facing a strange issue on cyber panel. i am using htaccess on my site for hotlink protection and also wordpress rules every rule is working fine except below rule

     <FilesMatch "\.(mov|mp3|jpg|pdf|mp4|avi|wmv)$">
     ForceType application/octet-stream
     Header set Content-Disposition attachment

this rule is working fine on apache server but doesn’t work on openlite speed server

Welcome @johnsow44 Happy you are here

Kindly follow basic instructions How to ask for assistance?

Why dont you use extraHeaders directive in your context to add headers for content-type