Welcome to Sysadmins of the North

The latest in tech, science, personal growth, business and travel curated for you daily.

Swiss Army knife, a red and silver multi tool

Target multiple ASP.NET versions with AppCmd.exe

2014-02-18

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!

apt-cache search monit lists "monit – utility for monitoring and managing daemons or similar programs"

Delete files recursively with ForFiles in Windows Server

2014-01-01

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.

Block WordPress comment spammers manually

2013-11-30

The less spammers hit your WordPress blog, the better your blog performs, is one of my opinions. A second is, the less unnecessary plugins you use on your WordPress blog, the better. So, a little while ago I decided to remove plugins like Stop Spammer Registration Plugin and do its work myself.

Grep for forensic log parsing and analysis on Windows Server IIS

2013-04-09

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.

apt-cache search monit lists "monit – utility for monitoring and managing daemons or similar programs"

Connect to MS SQL Server with PHP 5.3+

2013-03-22

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.

Redirect HTTP to HTTPS

2013-03-13

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.

apt-cache search monit lists "monit – utility for monitoring and managing daemons or similar programs"

MySQL Connector/NET and Entity Framework

2013-02-26

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.

Create your own PHP based Origin Pull CDN

2013-02-17

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.

apt-cache search monit lists "monit – utility for monitoring and managing daemons or similar programs"

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.

apt-cache search monit lists "monit – utility for monitoring and managing daemons or similar programs"

PHP with WinCache on IIS

2013-02-05

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.

apt-cache search monit lists "monit – utility for monitoring and managing daemons or similar programs"

Remove ETags HTTP response header in IIS

2013-01-24

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.

Share via
Copy link