How to use Mod-Rewrite for IIS in shared hosting to block the bad bots (User Agents) or IP Address.
particleman
1:24 pm on Jan 9, 2013 (gmt 0)
Your host would need IISRewrite enabled and installed. They probably do already. Then you can add the rules to the web.config file.
pkKumar
5:20 am on Jan 10, 2013 (gmt 0)
Then you can add the rules to the web.config file
Any Example of this.
particleman
2:38 am on Jan 15, 2013 (gmt 0)
I see you started another thread? Do you not know how to use google? goto google and type "iisrewrite useragent".
The first and third link have examples how to solve your problem. [stackoverflow.com...]
pkKumar
4:52 am on Jan 11, 2013 (gmt 0)
is there any htaccess-like isapi module under IIS. MY requirement is not URL rewriting but blocking bad user agents and IP addresses to the site.
[edited by: bill at 8:52 am (utc) on Jan 15, 2013] [edit reason] tidy up [/edit]
bill
5:50 am on Jan 11, 2013 (gmt 0)
ISAPI_Rewrite was the module that used to be recommended a lot for this functionality.
pkKumar
6:25 am on Jan 11, 2013 (gmt 0)
ISAPI_Rewrite was the module that used to be recommended a lot for this functionality.
will it work on site level like web.config or i need server access.
particleman
4:56 pm on Jan 15, 2013 (gmt 0)
I posted a link exactly how to do this with IISrewrite above. If you're on a shared host and they don't have IISrewrite you're going to be really limited.