First download the pseudo-static file and use it locally at the bottom of this article:
Unzip the file to the root directory of drive C. Add this filter filter name Rewrite on the Isapi of the IIS site where Rewrite is to be enabled.
Just select c:RewriteRewrite.dll for the executable file.
httpd.ini is the configuration file if you want to prevent hotlinking for individual sites or if your forum and supesite are two separate domain names. The above method will cause both parties to prevent each other from hotlinking! If it cannot be called normally, please change it according to the following method.
RewriteCond Host: (.+)
RewriteCond Referer: (?!http://1.*).*
RewriteRule .*.(?:gif|jpg|png|) /block.gif [I,O]
Please change the second line of the above code to:
RewriteCond Referer: (?!http://(?:www.lbhao.com|www.hx2015.net)).+
The meaning of the above code is that except for
http://www.lbhao.com and
www.hx2015.net , all hotlinks on other websites will be rejected!
The static configuration of anti-hotlinking and dz5 has been adjusted, and then create a block.gif file in the root directory of the website. The website displaying the hotlinking will display this picture. Use the virtual host:
Upload to the root directory of the virtual host or other directory. Add this filter filter name Rewrite on the Isapi of the IIS site where Rewrite is to be enabled.
Select the path for the executable file RewriteRewrite.dll and that’s it. Upload httpd.ini to a new directory and edit it.
Detailed tutorial:
http://www.lbhao.com/detaile-5-801.html