Isapi_rewrite is a powerful URL Processing Engine Based on regular expressions. It is very similar to Apache's mod_rewrite, but it is designed for IIS.
Example:
Decompress the file to the C root directory.
Add this filter to the ISAPI of the IIS Site for which rewrite is enabled
Filter Name rewrite
Select c: \ rewrite. dll as the executable file.
Httpd. INI is the configuration file
If you want to protect individual sites from anti-leech protection, or your forum and supesite are two separate domain names. The above method will cause mutual anti-leech protection! Unable to call normally. Please follow the method below to change
Rewritecond HOST: (. +)
Rewritecond Referer :(?! Http: // \ 1 .*).*
Rewriterule .*\.(? : Gifjpgpng)/block.gif [I, O]
Put the aboveCodeThe second line is changed:
Rewritecond Referer :(?! Http ://(? : Www \. flydown \. netwww \. crdate \. com). +
The above code means that in addition to the http://www.flydown.net and www.crdate.com, the two sites, all the leeching on other sites refused!
The anti-Leech and static configurations have been adjusted. Then, the block.gif file is created in the root directory of the website.
This picture is displayed on the leeching website!
Basic usage:
# Set/test/Re. asp? Id = 123 ing to/test/RE/123
Rewriterule/test/RE/(D +)/test/Re. asp? Id = $1
# Ing xxx.xeonwell.com to www.xeonwell.com/xxxis complete.
Rewritecond HOST :(?! /. | WWW | BBS) (. *) .xeonwell.com
Rewriterule (. *) http://www.xeonwell.com/%1%2 [I, R]