homepage Welcome to WebmasterWorld Guest from 54.161.192.130
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
Mod-Rewrite for IIS in shared hosting
pkKumar



 
Msg#: 4534576 posted 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.

 

particleman

5+ Year Member



 
Msg#: 4534576 posted 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



 
Msg#: 4534576 posted 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

5+ Year Member



 
Msg#: 4534576 posted 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



 
Msg#: 4534576 posted 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

WebmasterWorld Administrator bill us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4534576 posted 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



 
Msg#: 4534576 posted 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

5+ Year Member



 
Msg#: 4534576 posted 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved