i use this RewriteRule .*\.(jpg|jpeg|gif|png|bmp|flv|avi)$ - [F,NC] but still can direct download my file how do i edit it ? thank you
because i also use nginx so i still can download my file when i remove nginx this setup can work but if i want let all can't download,only xxx.com can download what can i do ? thank you
Seems like rules from your access file are not being applied. Please provide the the full definition of appropriate Directory directive from your server's configuration.
In nginx configuration file: location ~* ^.+\.(flv|jpg|jpeg|png)$ { root <your_direcrory_with_stuff> allow from xxx.com deny from all }