I want to enable hotlink protect for all my user on server ! I try create a .htaccess file on default folder be low :
But when i created a user, it will not work for passing |DOMAIN|...
How to do it ???
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://|DOMAIN|/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://|DOMAIN|$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.|DOMAIN|/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.|DOMAIN|$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
How to do it ???