我正在尝试阻止此热门链接到我的图片的特定网站。直到现在我还没有管理。我试过了:
RewriteCond %{HTTP_REFERER} ^https://resepmakanan.id [NC]
RewriteRule \.(jpg|png|gif)$ – [NC,F,L]
RewriteCond %{HTTP_REFERER} ^https://resepmakanan\.id/ [NC]
RewriteRule \.(jpg|png|gif)$ – [NC,F,L]
RewriteCond %{HTTP_REFERER} ^https://resepmakanan\.id/ [NC]
RewriteRule .*\.(jpg|jpeg|png|gif)$ http://i.imgur.com/xxxxxx.jpg [NC,F,L]
这种方法不能用,因为有通过Cloudflare发送的标题吗?