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.

PHP logo by Colin Viebrock

Codebase

Last updated:

Connect to MS SQL Server with PHP 5.3+

As of PHP 5.3.2 you have to use the SQLSRV API functions to connect to an Microsoft SQL Server database from PHP. For example, use sqlsrv_connect() to create a connection resource and open a connection. Learn how to connect to a Microsoft SQL Server database using PHP 5.3+ and SQLSRV.

Useful

Last updated:

Redirect HTTP to HTTPS

In this post I provide you various HTTP to HTTPS redirection methods, for Windows Server IIS and Linux Apache. Use these examples to your advantage to secure the traffic between your visitors and your website.

Microsoft Internet Information Services (IIS) logo

Web applications

Last updated:

MySQL Connector/NET and Entity Framework

How to let MySQL Connector/NET and Entity Framework play nicely. This blog post is a quicky and an oldy… Since we still receive a reasonable amount of questions about this topic at the customer service of my employer I'm posting this here, with some commonly made mistakes and points of attention.

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.

Web applications

Last updated:

Create your own PHP based Origin Pull CDN

The advantage of having your website content hosted on a Content Delivery Network (CDN) is having your content distributed and stored across the Globe. Utilizing the network of the Content Delivery Network provider.

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.

Windows Server

Last updated:

Multiple IIS 6.0/7.5 Vulnerabilities

Multiple vulnerabilities in IIS 6.0 and 7.5 web servers were reported to the Full-Disclosure mailing list by Kingcope. I tested them, and here are the workarounds.

Red error messages on a black computer screen indicating blocked web resources

Web applications

Last updated:

Filter web traffic with blacklists

HTTP blacklist for your website: block and filter unwanted web traffic with blacklists, on both IIS and Apache. Protect your website easily and learn how to create your own HTTP web blacklist filter.

WordPress

Last updated:

Cleanup post revisions

Clean up WordPress post revisions easily with one (1) simple SQL statement. Delete WordPress post revisions, turn them off and speed up your WordPress blog.