Welcome to WebmasterWorld Guest from 54.198.93.179

Forum Moderators: ocean10000

Message Too Old, No Replies

Mod-Rewrite for IIS in shared hosting

     
10:50 am on Jan 9, 2013 (gmt 0)



How to use Mod-Rewrite for IIS in shared hosting to block the bad bots (User Agents) or IP Address.
1:24 pm on Jan 9, 2013 (gmt 0)

5+ Year Member



Your host would need IISRewrite enabled and installed. They probably do already. Then you can add the rules to the web.config file.
5:20 am on Jan 10, 2013 (gmt 0)



Then you can add the rules to the web.config file

Any Example of this.
2:38 am on Jan 15, 2013 (gmt 0)

5+ Year Member



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...]
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]

5:50 am on Jan 11, 2013 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



ISAPI_Rewrite was the module that used to be recommended a lot for this functionality.
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.
4:56 pm on Jan 15, 2013 (gmt 0)

5+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month