grayscale photography of spider

How to block BaiduSpider bot User-Agent?

The Baidu spider (BaiduSpider user agent) can be a real pain to block, especially since it does not respect a robots.txt as it should. This post shows you how to block Baidu Spider bot, using IIS URL Rewrite Module based on its User-Agent string.

[HttpException (0x80004005): The length of the URL for this request exceeds the configured maxUrlLength value.]

“The length of the URL for this request exceeds the configured maxUrlLength value”

The length of the URL for this request exceeds the configured maxUrlLength value is an IIS error telling you the length of the given URL exceeds a limit. The Windows Server IIS maximum URL length is defined by the HttpRuntimeSection.MaxUrlLength property. Its value is 260 characters. This may cause problems with longer URLs, and here is how to resolve this maxUrlLength issue.