3 Ways of blocking sendmail.php on IIS webserver

2021-12-08

Here are 3 ways of blocking access to a PHP sendmail.php script on your Windows Server IIS webserver. This comes in handy if a websites on your webserver sends out spam and you need to block access to a script on a specific website or globally in IIS.

Swiss Army knife, a red and silver multi tool

AppCmd introduction and examples

2016-05-17

The AppCmd.exe command is your one-stop-shop for administering Windows Server IIS web servers. In combination with WinRM it is your Swiss Army knife for your daily routine. This post introduces appcmd and provides you with a lot of helpful appcmd examples.

How to block BaiduSpider bot User-Agent?

2015-08-08

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.

Microsoft Internet Information Services (IIS) logo

Remove IIS Server version HTTP Response Header

2014-07-06

Windows Server IIS loves to tell the world that a website runs on IIS. It does so with the "Server:" header in the HTTP response, as shown below. In this post I'll show you how to remove HTTP response headers in Windows Server IIS. You don't want to give hackers too much information about your servers, right?.

Microsoft Internet Information Services (IIS) logo

Convert .htaccess to web.config

2013-02-08

This post describes some of the IIS URL Rewrite Module web.config equivalents of commonly used Apache .htaccess settings. You'll learn how to translate .htaccess content to IIS web.config, this is useful when you need to migrate your website from Apache to Windows Server IIS.