IIS pseudo-static file first download the pseudo-static file at the bottom of this article
Local use:
Unzip the file to the root directory of drive C
Add this filter on the Isapi of the IIS site where you want to enable Rewrite
Filter nameRewrite
Just select c:RewriteRewrite.dll for the executable file.
httpd.ini is the configuration file
If you don’t want to prevent hotlinking for certain 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.
RewriteCondHost:(.+)
RewriteCondReferer:(?!http://1.*).*
RewriteRule.*.(?:gif|jpg|png|)/block.gif[I,O]
Please change the second line of the above code to:
RewriteCondReferer:(?!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-leeching and dz5 has been adjusted, and then the block.gif file is created in the root directory of the website.
The hotlinked website displays this picture.
Virtual host uses:
Upload to the root directory of the virtual host or other directory
Add this filter on the Isapi of the IIS site where you want to enable Rewrite
Filter nameRewrite
Select the executable file path 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