You are here: Home ยป Archives for May 2014

Month: May 2014

How to install the Web-WebSockets feature in IIS using PowerShell

How to install WebSocket Protocol support in IIS through PowerShell‘s Install-WindowsFeature cmdlet. Simply install and enable support for the WebSocket protocol on Windows Server IIS. 5,587 views Did this post helped you solve a problem? Or dit you find it interesting? Support Sysadmins of the North with a direct donation via Paypal of by bank …

How to install the Web-WebSockets feature in IIS using PowerShell Read More »

How to: Test MySQL database connectivity in ASP.NET, PHP, ASP

Simple MySQL connection test from your website with ASP.NET, PHP & classic ASP. Whenever you need a MySQL connectivity test from a website or server, it’s handy to have various test scripts nearby. Whether it is because you are setting up a new website or you have just installed a new server and are running …

How to: Test MySQL database connectivity in ASP.NET, PHP, ASP Read More »

How to hide the .php file extension with IIS URL Rewrite Module

Extensionless URLs in IIS 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. This example will hide the .php extension using the …

How to hide the .php file extension with IIS URL Rewrite Module Read More »

Minify JavaScript, CSS and compress images

Fire-and-forget JavaScript and CSS minification and PNG image optimization on the Linux-, Mac OS X and Windows command-line interface. Using OptiPNG and YUI Compressor Optimize PNG images and minify JavaScript and CSS files, the easy and fast way? With YUI Compressor and OptiPNG on the Windows-, Linux- and macOS command line of course! Compacting HTML, …

Minify JavaScript, CSS and compress images Read More »

How to test SMTP Authentication and StartTLS

When investigating SMTP authentication issues, particular over TLS encrypted SMTP connections, it’s always handy if you are able to test the SMTP authentication and StartTLS connection. Preferably from your command line. This post shows you how to test SMTP servers, verify SMTP authentication and StartTLS encrypted connections from the Linux and Windows command line. 14,396 …

How to test SMTP Authentication and StartTLS Read More »

IIS Outbound Rules with gzip compression

Saotn.org uses used URL Rewrite Outbound Rules in IIS, to offload content from a different server and/or host name. This is also known as IIS with URL Rewrite as a reverse proxy, and should improve website performance. Just recently I noticed Outbound Rules conflicted with gzip compressed content. The following HTTP 500.52 URL Rewrite Module …

IIS Outbound Rules with gzip compression Read More »

WordPress wp_options table autoload micro-optimization

Learn how to optimize WordPress’ wp_options table for faster database results. This probably isn’t a big issue, but today I noticed a slow MySQL query coming from a WordPress database (WordPress wp_options table). This made me investigate and to optimize the WordPress wp_options table “autoload” feature. The autoload feature loads and caches all autoloaded options, …

WordPress wp_options table autoload micro-optimization Read More »

Check, repair and optimize MySQL tables with mysqlcheck

De mysqlcheck client is a command line table maintenance program for MySQL. Mysqlcheck checks, repairs, optimizes, or analyzes MySQL tables. In this post I’ll show you how to use mysqlcheck to optimize all MySQL tables using a cronjob. 1,818 views Did this post helped you solve a problem? Or dit you find it interesting? Support …

Check, repair and optimize MySQL tables with mysqlcheck Read More »

14 queries, took 0.554 seconds running PHP version 7.4.8