Microsoft Internet Information Services (IIS) logo

Windows Server

Last updated:

Conditionally start Application Pools on remote IIS web servers

In this article you'll learn how to start all stopped application pools that have the ApplicationPool.AutoStart property set to $True using AppCmd.exe or PowerShell. This is something you often or occasionally have to perform on various servers, for example when an application pool hangs.

Magento website homepage

Windows Server

Last updated:

Magento maintenance script for IIS

A Magento maintenance script for Windows Server and IIS: clear Magento's MySQL log tables and var cache directories on a schedule for a faster webshop.

Windows Server

Last updated:

Mod_evasive on IIS

Website DDoS protection with mod_evasive on Windows Server IIS, using Helicon Ape: how to configure it, exclude websites, and where it falls short.

Microsoft Internet Information Services (IIS) logo

Windows Server

Last updated:

Remove IIS Server version from HTTP response headers

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

Windows Server

Last updated:

.svc WCF web service returns 404 Not Found in IIS 8

When the .svc web service handler doesn't work in IIS with ASP.NET 4.5 and returns a 404 Not Found error, you may need to add an extra handler to IIS. Read on...

Microsoft Internet Information Services (IIS) logo

Windows Server

Last updated:

Hide the .php file extension with IIS URL Rewrite Module

Sometimes it's important to remove (or hide) the file extension of scripts you use. Security by obscurity might be that reason, if you don't want others to know what script language you are using for your website, or for static site hosts.

Microsoft Internet Information Services (IIS) logo

Windows Server

Last updated:

IIS Outbound Rules with gzip compression

Gzip compression conflicts with IIS Outbound Rules resulting in HTTP 500.52 URL Rewrite Module Error. Here is how to resolve this.

Swiss Army knife, a red and silver multi tool

Windows Server

Last updated:

Target multiple ASP.NET versions with AppCmd.exe

Address both x86 and x64 versions of .NET with AppCmd. When administering an IIS web server you frequently have to use AppCmd.exe to make configuration changes. Whether it is for a specific web site or server wide. Some think AppCmd is very limited, but here is how you can target multiple ASP.NET versions with AppCmd!

Windows Server logo

Windows Server

Last updated:

Delete files recursively with ForFiles in Windows Server

The Forfiles command on Windows selects and executes a command on a file or set of files. Forfiles is ideal for batch processing through scripts, for instance on Windows Server systems. With Forfiles, you can run a command on or pass arguments to multiple files. For example, you could run the type or del command on all files in a tree with the .txt extension.

Windows Server

Last updated:

Create your own CDN using IIS Outbound Rules

Use IIS Outbound Rules and URL Rewrite Module to create a custom created Content Delivery Network (CDN) for static content ofloading and speed-up your website.

MySql.Data.MySqlClient ASP.NET test script

Windows Server

Last updated:

ASP.NET performance: what to keep in mind

Valuable articles about ASP.NET performance I frequently pass on to customers, so they can improve their ASP.NET web applications.

Windows Server

Last updated:

Grep for forensic log parsing and analysis on Windows Server IIS

How to use GnuWin32 ported tools like grep.exe and find.exe for forensic log file analysis in Windows Server. Find webshells and backdoors in websites, check visitor's IP addresses or hits to backdoor/webshell files in IIS log files easy. Command-line log analysis in Windows Server, search for Joomla-, WordPress-, Drupal- and PHP- malware & backdoors in your website with grep and find.

Microsoft Internet Information Services (IIS) logo

Windows Server

Last updated:

IIS 6.0: stop, start or recycle application pools

Somewhere in my archives, I found this VBScript for stopping, starting and recycling an IIS 6.0 application pool. It doesn’t use adsutil.vbs. It might come in handy, because it’s always very time consuming to start the Computer Management console, click through Services and Applications > Internet Information Services (IIS) Manager > Application Pools to find the Application Pool you want to start, stop or recycle.

Microsoft Internet Information Services (IIS) logo

Windows Server

Last updated:

Convert .htaccess to web.config

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.

Microsoft Internet Information Services (IIS) logo

Windows Server

Last updated:

PHP with WinCache on IIS

In this article you'll learn how to install and set up PHP with the Windows Cache Extension (WinCache) on windows IIS web servers. WinCache enabled PHP gives a great PHP performance boost for your WordPress-, Drupal or Joomla website. This post will show you it's not hard to set up high performance PHP hosting on IIS.

Microsoft Internet Information Services (IIS) logo

Windows Server

Last updated:

Remove ETags HTTP response header in IIS

Removing ETag response headers is not an easy task in Windows Server IIS web servers. Here I show you how to properly remove ETag HTTP response headers with an IIS Rewrite Module Outbound rewrite rule.