The recent website picture is hotlinking, causes the server to be overloaded therefore the Internet looked for the anti-theft chain The method most is uses. htaccess anti-theft chain, but I use the virtual host is Windows 2003 not supported. Htaccess, looking for a whole day, finally solved, is to use Httpd.ini to control
First create a new text document change the name to Httpd.ini add the following code to this file
[Isapi_rewrite]
Cacheclockrate 3600
Repeatlimit 32
#已配置了伪静态的可以删除上面三行代码
#防盗链设置
Rewritecond Host: (. +)
Rewritecond Referer: (?!) http://(?: Here fill in your domain name \.cn (. *) \. Fill in your domain name \.cnbaidu\.com (. *) \.baidu\.comgoogle\.com (. *). \google.com). *
Rewriterule. *\. (?: Jpgjpeggifpngbmprarzipexe)/fangdao.gif [I,o,n]
Explain:
Rewritecond Referer: Here, fill in your website that allows you to connect your pictures, where each domain name is separated by ""
(?: Jpgjpeggifpngbmprarzipexe): These are the extensions you need for the security chain file, where each extension is separated by ""
Fangdao.gif: Others hotlinking your picture will show this picture
Set it up and start uploading.
Upload Httpd.ini to the site root directory
Fangdao.gif is also placed in the root directory