Comments for Sysadmins of the North https://www.saotn.org Sysadmin, Windows Server, IIS, security, website & WordPress, MySQL, optimization Sun, 25 Jun 2017 10:05:54 +0000 hourly 1 https://wordpress.org/?v=4.8 Comment on How to enable HTTP Strict-Transport-Security (HSTS) on IIS by How to redirect HTTP to HTTPS on IIS - Windows Server - Sysadmins of the North https://www.saotn.org/enable-http-strict-transport-security-hsts-on-iis/#comment-4612 Sun, 25 Jun 2017 10:05:54 +0000 https://www.saotn.org/?p=1998#comment-4612 […] on port 80 should only redirect to the same resource on HTTPS. Once the redirection has occured, HSTS should ensure that all future attempts go to the site via HTTP are instead sent directly to the […]

]]>
Comment on MySQL query caching met PHP/Zend_Cache by PHP optimaliseren op Windows Server IIS - Hoe kan ik? - ITFAQ.nl https://www.saotn.org/mysql-query-caching-met-php-zend_cache/#comment-4610 Fri, 23 Jun 2017 10:18:04 +0000 http://www.saotn.nl/?p=485#comment-4610 […] te gebruiken, een PHP-klasse van het Zend Framework. Je vindt hier een voorbeeld implementatie: MySQL query caching met PHP/Zend_Cache. Sowieso is MySQL optimalisatie (server én database) erg belangrijk, en daarom alom […]

]]>
Comment on MySQL InnoDB performance improvement: InnoDB buffer pool instances – Updated! by PHP optimaliseren op Windows Server IIS - Hoe kan ik? - ITFAQ.nl https://www.saotn.org/mysql-innodb-performance-improvement/#comment-4609 Fri, 23 Jun 2017 10:16:36 +0000 http://www.saotn.org/?p=1500#comment-4609 […] kunnen query_cache geconfigureerd hebben. Dit betekent dat het resultaat van uitgevoerde MySQL queries op de […]

]]>
Comment on Remove ETags HTTP response header in IIS by PHP optimaliseren op Windows Server IIS - Hoe kan ik? - ITFAQ.nl https://www.saotn.org/remove-etags-http-header-iis/#comment-4608 Fri, 23 Jun 2017 10:16:08 +0000 http://www.saotn.nl/?p=899#comment-4608 […] Etag: Je ziet hierboven een Etag:-header staan. Yahoo YSlow raadt aan om Etag headers te verwijderen. Als je wilt weten hoe je dit doet, zie dan het artikel Remove ETags HTTP response header on IIS. […]

]]>
Comment on How to disable SMBv1 in Windows 10 and Windows Server by Disable SMB1 using Group Policy Administrative Templates - Windows 8.1, Windows Server - Sysadmins of the North https://www.saotn.org/disable-smbv1-windows-10-windows-server/#comment-4607 Thu, 22 Jun 2017 14:23:05 +0000 https://www.saotn.org/?p=3084#comment-4607 […] how to disable SMB1 using Group Policy Administrative Templates. This makes it easier for you to disable SMB1 to prevent WannaCry throughout your entire Active Directory domain(s). Here’s […]

]]>
Comment on TLS: Test SMTP AUTH PLAIN authentication and verify StartTLS connections by Anonymous https://www.saotn.org/tls-test-smtp-auth-plain-authentication-and-verify-starttls-connections/#comment-4606 Thu, 22 Jun 2017 14:12:56 +0000 http://www.saotn.org/?p=1466#comment-4606 Hi

Very useful. Thanks a lot.

In windows (Power Shell) you can run the following commnad to obtain the SSL Certificate Expiration Date.(Like Linux Pro Tip)

write-output “quit\r” | c:\OpenSSL-Win64\bin\openssl.exe s_client -connect smtp.example.com:25 -starttls smtp | c:\OpenSSL-Win64\bin\openssl.exe x509 -enddate -noout

]]>
Comment on MySQL in WordPress 3.9 by PHP mysql converteren naar MySQLi? - Hoe kan ik? - ITFAQ.nl https://www.saotn.org/mysql-in-wordpress-3-9/#comment-4604 Wed, 21 Jun 2017 07:37:24 +0000 http://www.saotn.org/?p=1457#comment-4604 […] voor WordPress?, vraag je je wellicht af. WordPress biedt vanaf versie 3.9 ondersteuning op MySQLi. Sinds WordPress 4.4 is WordPress compatible met PHP […]

]]>
Comment on How to: Protect WordPress from brute-force XML-RPC attacks by Huge increase in WordPress xmlrpc.php POST requests - Security, WordPress - Sysadmins of the North https://www.saotn.org/how-to-wordpress-protection-from-brute-force-xml-rpc-attacks/#comment-4603 Tue, 20 Jun 2017 07:42:11 +0000 https://www.saotn.org/?p=3102#comment-4603 […] trying multiple (tens or hundreds) username/password combinations within one request. This way, an XML-RPC brute-force attack might stay under the radar of ordinary Web Application Firewalls or rate-limiting […]

]]>
Comment on How to use .htaccess files on Windows Server IIS by 7 Tips: .htaccess as Web Application Firewall (WAF) to secure your website - Windows Server - Sysadmins of the North https://www.saotn.org/using-htaccess-in-iis/#comment-4601 Thu, 15 Jun 2017 11:13:52 +0000 http://www.saotn.nl/?p=559#comment-4601 […] can use .htaccess on Windows Server and IIS with Helicon Ape. It is pretty easy to set up and configure your .htaccess file as a sort […]

]]>
Comment on Create your own PHP based Origin Pull CDN by francescapinky4 https://www.saotn.org/origin-pull-cdn-with-php/#comment-4598 Sat, 10 Jun 2017 07:43:52 +0000 http://www.saotn.org/?p=928#comment-4598 Thanks for your shares, this work fine for me..!
Thank you.

]]>
Comment on MySQL sleep() attacks by Increase in SQL injection attacks (Summer vacation's over?) - Security - Sysadmins of the North https://www.saotn.org/mysql-sleep-attacks/#comment-4596 Wed, 07 Jun 2017 07:13:37 +0000 http://www.saotn.org/?p=1560#comment-4596 […] sleep(3) in these SQL injection attacks (attempts) can be very nasty and can lead to MySQL sleep() attacks causing website and backend database-server Denial-of-Service (DoS) attacks. This is something […]

]]>
Comment on Configure SQLServer sessionState for Umbraco by Jan Reilink https://www.saotn.org/configure-sqlserver-sessionstate-for-umbraco/#comment-4595 Wed, 07 Jun 2017 06:45:33 +0000 http://www.saotn.org/?p=1406#comment-4595 Thanks for your comment. Unfortunately, I wouldn’t know, I haven’t played with Umbraco in quite some time (years) now.

]]>
Comment on Configure SQLServer sessionState for Umbraco by Anonymous https://www.saotn.org/configure-sqlserver-sessionstate-for-umbraco/#comment-4594 Wed, 07 Jun 2017 06:13:49 +0000 http://www.saotn.org/?p=1406#comment-4594 Hi, test Umbraco 7 and Mssql session state. Use just backoffice. Where put for all backoffice page?

]]>
Comment on Remove Jetpack email sharing service by How to: Protect WordPress from brute-force XML-RPC attacks - Security, WordPress - Sysadmins of the North https://www.saotn.org/remove-jetpack-email-sharing-service/#comment-4591 Sun, 04 Jun 2017 08:53:53 +0000 https://www.saotn.org/?p=3092#comment-4591 […] blocks requests to /xmlrpc.php URL’s completely, meaning you cannot use a plugin like Jetpack, or other functionality that relies on […]

]]>
Comment on Simple PowerShell introduction for Windows Server administration, automation and scripting by PowerShell return value, exit code, or ErrorLevel equivalent - PowerShell - Sysadmins of the North https://www.saotn.org/powershell-introduction-windows-server-administration-automation-scripting/#comment-4590 Sat, 03 Jun 2017 15:26:53 +0000 https://www.saotn.org/?p=2350#comment-4590 […] is how you can verify whether an external command in PowerShell was executed successfully or not by its errorlevel. Simply by verifying PowerShell’s return […]

]]>
Comment on Huge increase in WordPress xmlrpc.php POST requests by How To: Protect WordPress from brute-force XML-RPC attacks - Security, WordPress - Sysadmins of the North https://www.saotn.org/huge-increase-wordpress-xmlrpc-php-post-requests/#comment-4589 Fri, 02 Jun 2017 14:30:04 +0000 http://www.saotn.org/?p=1523#comment-4589 […] The problem: during a brute-force attack, HTTP requests keep coming in, knocking down web servers due to the sheer number of HTTP requests for /xmlrpc.php, and the increasing number of running PHP processes. This often “eats” all available CPU and memory: a typical xmlrpc.php attack characteristic. […]

]]>
Comment on WordPress 3.9.2 Security Release fixes XML-RPC DoS by How To: Protect WordPress from brute-force XML-RPC attacks - Security, WordPress - Sysadmins of the North https://www.saotn.org/wordpress-392-security-release-fixes-xml-rpc-dos/#comment-4588 Fri, 02 Jun 2017 14:29:47 +0000 http://www.saotn.org/?p=1567#comment-4588 […] has been under attack for many years now. Back in August 2014, WordPress released version 3.9.2, fixing a possible denial of service issue in PHP’s XML processing. There are brute-force […]

]]>
Comment on Connect to SqlCe (SQL Server Compact) database from ASP by Umbraco doesn't like users with MySQL databases - Saotn - Sysadmins of the North https://www.saotn.org/asp-connect-sqlce-database/#comment-4584 Mon, 29 May 2017 11:43:56 +0000 http://www.saotn.org/?p=1100#comment-4584 […] Update Of course you can use SqlCE MS SQL Server as your database back-end for Umbraco. Please note that an SqlCe database is deprecated! […]

]]>
Comment on Authenticated SMTP + TLS in PHP, ASP and ASP.NET by Send email with Ghost using SMTP authentication and TLS encryption - Windows Server - Sysadmins of the North https://www.saotn.org/authenticated-smtp-tls/#comment-4581 Thu, 25 May 2017 12:54:50 +0000 http://www.saotn.org/?p=1045#comment-4581 […] As you know, more and more web hosting providers require SMTP authentication (often abbreviated as SMTP AUTH) and a TLS encrypted connection to send email. Here you’ll find some script examples to Send secure SMTP email from your website. […]

]]>
Comment on 5 Extra ways to clean up disk space in Windows Server by WsusPool keeps crashing: stops again and again - Windows Server - Sysadmins of the North https://www.saotn.org/5-extra-ways-to-clean-up-disk-space-in-windows-server/#comment-4580 Thu, 25 May 2017 12:23:30 +0000 https://www.saotn.org/?p=2697#comment-4580 […] Server Update Services crashes, you’ll notice the following error message being logged in the HTTPErr log […]

]]>
Comment on How to disable SMBv1 in Windows 10 and Windows Server by 3 Important security measurements for Windows Server & IIS - Security, Windows Server - Sysadmins of the North https://www.saotn.org/disable-smbv1-windows-10-windows-server/#comment-4577 Mon, 22 May 2017 07:28:36 +0000 https://www.saotn.org/?p=3084#comment-4577 […] Straighten out your supported Cipher Suites in TLS/SSL (Schannel SSP), and don’t forget to disable SMBv1 as […]

]]>
Comment on My WordPress web.config by web cancún https://www.saotn.org/my-wordpress-web-config/#comment-4575 Fri, 19 May 2017 15:46:28 +0000 https://www.saotn.org/?p=2019#comment-4575 Hi!
Good job!
I am working with wordpress multisite, and when configuring the web.config file, I get a 500 error,
The code I have is the following:

Fill in your details below or click an icon to log in:

<system.webServer>

</system.webServer>

Please help me …

]]>
Comment on 17 Valuable WordPress snippets you never knew you could live without by Remove Jetpack email sharing service - WordPress - Sysadmins of the North https://www.saotn.org/valuable-wordpress-snippets/#comment-4573 Fri, 19 May 2017 08:50:28 +0000 https://www.saotn.org/?p=2507#comment-4573 […] can find more of such handy filters and code examples here in my WordPress snippets […]

]]>
Comment on How to disable SMBv1 in Windows 10 and Windows Server by Jan Reilink https://www.saotn.org/disable-smbv1-windows-10-windows-server/#comment-4572 Thu, 18 May 2017 07:33:13 +0000 https://www.saotn.org/?p=3084#comment-4572 Hi Johan, thank you for your comment! Windows 10 is not vulnerable. However, if you want to disable SMB1 and need an elevated command prompt, search for “cmd”, right click and choose “run as administrator”. This is a Windows 8.1 screenshot: https://www.itfaq.nl/wp-content/uploads/sites/3/2015/11/Windows-CMD_as_Administrator.jpg.

]]>
Comment on How to disable SMBv1 in Windows 10 and Windows Server by joheben https://www.saotn.org/disable-smbv1-windows-10-windows-server/#comment-4571 Wed, 17 May 2017 15:02:14 +0000 https://www.saotn.org/?p=3084#comment-4571 So how do I “elevate” to be able to run this command on Windows10 ?! It seems easier to be hit by this worm than to figure out the black magic needed to protect against it.

]]>
Comment on How to disable SMBv1 in Windows 10 and Windows Server by mlazzarotto91 https://www.saotn.org/disable-smbv1-windows-10-windows-server/#comment-4570 Wed, 17 May 2017 07:30:29 +0000 https://www.saotn.org/?p=3084#comment-4570 Thank you very much. Very useful post.
Be aware that if you disable SMB1 client you might get into problems accessing shared folders on older QNAP.

]]>
Comment on Grep for forensic log parsing and analysis on Windows Server IIS by Merge multiple files into one new file in Windows - Windows Server - Sysadmins of the North https://www.saotn.org/grep-for-forensic-log-parsing-and-analysis-windows-server-iis/#comment-4568 Tue, 16 May 2017 13:31:10 +0000 http://www.saotn.org/?p=1020#comment-4568 […] This is ideal for combining multiple log files into one file for LogParser and log forensics. […]

]]>
Comment on Time to disable SSLv3, or what? by 3 Important security measurements for Windows Server & IIS - Security, Windows Server - Sysadmins of the North https://www.saotn.org/time-disable-sslv3-or-what/#comment-4567 Tue, 16 May 2017 09:43:21 +0000 http://www.saotn.org/?p=1634#comment-4567 […] don’t forget to disable SSLv3 and even TLS 1.0. Straighten out your supported Cipher Suites in TLS/SSL (Schannel SSP), and […]

]]>
Comment on 3 Important security measurements for Windows Server & IIS by How to disable SMBv1 in Windows 10 and Windows Server - Windows 8.1, Windows Server - Sysadmins of the North https://www.saotn.org/3-important-security-measurements-windows-server-iis/#comment-4565 Mon, 15 May 2017 16:55:28 +0000 https://www.saotn.org/?p=3053#comment-4565 […] tip: while you’re at it, look-up SMB Signing, Extended Protection for Authentication and Hardened UNC Paths. Also verify you’ve disabled […]

]]>
Comment on Time to disable SSLv3, or what? by 3 Important additional security measurements for Windows Server & IIS - Security, Windows Server - Sysadmins of the North https://www.saotn.org/time-disable-sslv3-or-what/#comment-4564 Mon, 15 May 2017 16:52:22 +0000 http://www.saotn.org/?p=1634#comment-4564 […] don’t forget to disable SSLv3 and even TLS 1.0. Straighten out your supported Cipher Suites in TLS/SSL (Schannel SSP), and […]

]]>
Comment on How to disable SMBv1 in Windows 10 and Windows Server by WannaCry: Cyber Attack on NHS Hospitals May 2017 | University of South Wales: Information Security & Privacy https://www.saotn.org/disable-smbv1-windows-10-windows-server/#comment-4563 Sun, 14 May 2017 13:31:04 +0000 https://www.saotn.org/?p=3084#comment-4563 […] https://www.saotn.org/disable-smbv1-windows-10-windows-server/ […]

]]>
Comment on Simple PowerShell introduction for Windows Server administration, automation and scripting by WannaCry: Cyber Attack on NHS Hospitals May 2017 | University of South Wales: Information Security & Privacy https://www.saotn.org/powershell-introduction-windows-server-administration-automation-scripting/#comment-4562 Sun, 14 May 2017 13:29:25 +0000 https://www.saotn.org/?p=2350#comment-4562 […] 8 and Windows Server 2012 introduce the new Set-SMBServerConfiguration Windows PowerShell cmdlet. The cmdlet enables you to enable or disable the SMBv1, SMBv2, and SMBv3 protocols on the […]

]]>
Comment on WordPress wp_options table autoload micro-optimization by Sneakers4u https://www.saotn.org/wordpress-wp-options-table-autoload-micro-optimization/#comment-4561 Sat, 13 May 2017 14:14:18 +0000 http://www.saotn.org/?p=1430#comment-4561 You are a gift to the world. Solved many deadlocks for me. Thank you, thank you!

]]>
Comment on Time to disable SSLv3, or what? by How to disable SMBv1 in Windows 10 and Windows Server - Windows 8.1, Windows Server - Sysadmins of the North https://www.saotn.org/time-disable-sslv3-or-what/#comment-4560 Sat, 13 May 2017 07:03:30 +0000 http://www.saotn.org/?p=1634#comment-4560 […] you’re at it, look-up SMB Signing and Hardened UNC Paths, and verify you’ve disabled SSLv3 and TLS […]

]]>
Comment on Simple PowerShell introduction for Windows Server administration, automation and scripting by How to disable SMBv1 in Windows 10 and Windows Server - Windows 8.1, Windows Server - Sysadmins of the North https://www.saotn.org/powershell-introduction-windows-server-administration-automation-scripting/#comment-4559 Sat, 13 May 2017 07:02:03 +0000 https://www.saotn.org/?p=2350#comment-4559 […] 8 and Windows Server 2012 introduce the new Set-SMBServerConfiguration Windows PowerShell cmdlet. The cmdlet enables you to enable or disable the SMBv1, SMBv2, and SMBv3 protocols on the […]

]]>
Comment on Play really old games on Windows 7, 8, 8.1 with DOSBox by Don't buy an Acer Aspire laptop - Saotn - Sysadmins of the North https://www.saotn.org/play-really-old-games-on-windows-7-8-81-with-dosbox/#comment-4558 Fri, 12 May 2017 12:09:00 +0000 http://www.saotn.org/?p=1776#comment-4558 […] Did you know you can play old games on Windows 7, 8, 8.1 and 10. With DOSBox. In my native Dutch: “Oude spellen spelen op Windows 8.1 en […]

]]>
Comment on My WordPress web.config by Devin Columbus https://www.saotn.org/my-wordpress-web-config/#comment-4557 Mon, 08 May 2017 20:48:35 +0000 https://www.saotn.org/?p=2019#comment-4557 Thanks for this. Can you make this entire file downloadable? I feel like I’m missing some code or the order of it all by copy and pasting each code section.

]]>
Comment on SSL in WordPress: how to move your WordPress site to HTTPS? The definitive guide by Redirect HTTP to HTTPS on Apache 2.4 - GNU Linux - Sysadmins of the North https://www.saotn.org/ssl-wordpress-move-wordpress-site-https-definitive-guide/#comment-4556 Mon, 08 May 2017 12:22:44 +0000 https://www.saotn.org/?p=2621#comment-4556 […] to move WordPress to HTTPS? See this […]

]]>
Comment on How to redirect HTTP to HTTPS on IIS by Ghost on IIS with HTTPS, how to resolve a "Too many redirects" error - Windows Server - Sysadmins of the North https://www.saotn.org/redirect-http-to-https-on-iis/#comment-4555 Mon, 08 May 2017 12:22:29 +0000 http://www.saotn.org/?p=1897#comment-4555 […] Node.js web applications when you install iisnode. I had my SSL certificate set up in IIS, put my HTTP to HTTP redirect in place and updated my Ghost url: and server: production environment config in config.js, I […]

]]>
Comment on Convert decimal to hex in Bash? by Epoch - Wat is? - ITFAQ.nl https://www.saotn.org/convert-decimal-hex-bash/#comment-4553 Fri, 05 May 2017 13:33:41 +0000 http://www.saotn.org/?p=1716#comment-4553 […] het artikel Convert Unix timestamps to dates op Saotn.org vind je meer voorbeelden van het omzetten van een Unix timestamp (of Epoch) naar een […]

]]>
Comment on Optimize images for the web in bulk by PHP optimaliseren op Windows Server IIS - Hoe kan ik? - ITFAQ.nl https://www.saotn.org/bulk-optimize-images-web/#comment-4550 Sat, 29 Apr 2017 09:56:07 +0000 http://www.saotn.org/?p=1296#comment-4550 […] zijn beschikbaar voor het comprimeren van afbeeldingen in de eigen ontwikkelomgeving. De artikelen bulk optimize images for the web en minify JavaScript, CSS and compress images leggen eenvoudig uit hoe deze tools te gebruiken […]

]]>
Comment on 8 Tips to improve Joomla! performance by PHP optimaliseren op Windows Server IIS - Hoe kan ik? - ITFAQ.nl https://www.saotn.org/8-tips-improve-joomla-performance/#comment-4549 Sat, 29 Apr 2017 09:55:50 +0000 http://www.saotn.org/?p=1516#comment-4549 […] van dit soort PHP-applicaties zijn Joomla, osCommerce en Zen-Cart. Het is verstandig […]

]]>
Comment on PHP with WinCache on IIS by PHP optimaliseren op Windows Server IIS - Hoe kan ik? - ITFAQ.nl https://www.saotn.org/php-wincache-on-iis/#comment-4548 Sat, 29 Apr 2017 09:55:34 +0000 http://www.saotn.nl/?p=915#comment-4548 […] gebruik te maken hoeft de data niet steeds opnieuw gecompileerd te worden bij nieuwe verzoeken. Zie Setting up PHP and WinCache on IIS voor meer […]

]]>
Comment on How to use .htaccess files on Windows Server IIS by PHP optimaliseren op Windows Server IIS - Hoe kan ik? - ITFAQ.nl https://www.saotn.org/using-htaccess-in-iis/#comment-4547 Sat, 29 Apr 2017 09:55:11 +0000 http://www.saotn.nl/?p=559#comment-4547 […] Network (CDN), om daarmee jouw content parallel te downloaden. Ben je een beetje thuis in PHP en .htaccess-bestanden? Je kunt ook eenvoudig een eigen Origin Pull CDN opzetten, waarbij de content wordt […]

]]>
Comment on Cache MySQL query results with PHP WinCache by PHP with WinCache on IIS - Windows Server - Sysadmins of the North https://www.saotn.org/cache-mysql-query-results-php-wincache/#comment-4545 Tue, 25 Apr 2017 07:24:27 +0000 http://www.saotn.org/?p=925#comment-4545 […] you develop PHP and MySQL based web sites, you can even use WinCache to cache MySQL query results. This is a turbo boost for your website because the website doesn’t have to create a […]

]]>
Comment on HackRepair.com’s Bad Bots .htaccess in web.config for IIS by Jan Reilink https://www.saotn.org/hackrepair-bad-bots-htaccess-web-config-iis/#comment-4544 Mon, 24 Apr 2017 07:29:53 +0000 https://www.saotn.org/?p=2332#comment-4544 Hi Ivan, thank you for your reaction! The multiple input tags are for readability. You can easily whitelist uptimerobot‘s user agent the way you describe:


<conditions logicalGrouping="MatchAll">
  <add input="{HTTP_USER_AGENT}" pattern="uptimerobot" negate="true" />
  <add input="{HTTP_USER_AGENT}" pattern="bad_bots|toblock|..." />
</conditions>

I haven’t tested this but it shouldn’t give a problem.

]]>
Comment on HackRepair.com’s Bad Bots .htaccess in web.config for IIS by Ivan https://www.saotn.org/hackrepair-bad-bots-htaccess-web-config-iis/#comment-4543 Sat, 22 Apr 2017 22:31:52 +0000 https://www.saotn.org/?p=2332#comment-4543 Hi,

nice work, thank you very much for sharing this.

I was just wondering, is there any special reason for the multiple input tags, or is it just for better readability ?

Well, for me “oBot” and “robot” blocked “uptimerobot” ( a free monitoring tool ).

So I thought instead of just removing those, I could change the condition to MatchAll, white list “uptimerobot” in one input with negate=”true” and black list everything else in second input….

Regards

Ivan

]]>
Comment on 17 Valuable WordPress snippets you never knew you could live without by Site news: Less cookies, less tracking & more privacy - Saotn - Sysadmins of the North https://www.saotn.org/valuable-wordpress-snippets/#comment-4540 Wed, 19 Apr 2017 09:24:08 +0000 https://www.saotn.org/?p=2507#comment-4540 […] a cookie cookieconsent_dismissed is set. This makes it easy to programmatic use this in your WordPress snippets, like scripts and […]

]]>
Comment on PHP with WinCache on IIS by AppCmd introduction and examples - PowerShell, Windows Server - Sysadmins of the North https://www.saotn.org/php-wincache-on-iis/#comment-4529 Tue, 11 Apr 2017 07:05:50 +0000 http://www.saotn.nl/?p=915#comment-4529 […] configuration. I’ve blogged on more than one occasion about IIS + PHP + fastCgi + AppCmd: here, […]

]]>
Comment on Create your own CDN using IIS Outbound Rules by PHP optimaliseren op Windows Server IIS - Hoe kan ik? - ITFAQ.nl https://www.saotn.org/create-cdn-using-iis-outbound-rules/#comment-4526 Fri, 07 Apr 2017 09:41:05 +0000 http://www.saotn.org/?p=1175#comment-4526 […] IIS 7.5+ webservers kun je ook gebruik maken van IIS Outbound Rules voor het opzetten van een self-hosted Content Delivery Network (CDN), om daarmee jouw content […]

]]>
Comment on MySQL InnoDB performance improvement: InnoDB buffer pool instances – Updated! by Caching concepten in WordPress: wat is caching en hoe maakt dit WordPress sneller? - WordPress - ITFAQ.nl https://www.saotn.org/mysql-innodb-performance-improvement/#comment-4525 Fri, 07 Apr 2017 09:40:02 +0000 http://www.saotn.org/?p=1500#comment-4525 […] Query Cache MySQL’s query cache houdt in dat het resultaat van een query, wordt opgeslagen in het geheugen van de MySQL-server. […]

]]>
Comment on “A domain rename operation is already in progress” by Anonymous https://www.saotn.org/domain-rename-operation-already-progress/#comment-4522 Wed, 05 Apr 2017 10:43:43 +0000 http://www.saotn.org/?p=1737#comment-4522 Thk, a lot !!

]]>
Comment on Software deployment through WDS by Jan Reilink https://www.saotn.org/software-deployment-through-wds/#comment-4521 Wed, 05 Apr 2017 06:59:53 +0000 http://www.saotn.org/?p=1865#comment-4521 Thanks David, glad you liked it!

]]>
Comment on Optimize images for the web in bulk by Jan Reilink https://www.saotn.org/bulk-optimize-images-web/#comment-4520 Wed, 05 Apr 2017 06:59:07 +0000 http://www.saotn.org/?p=1296#comment-4520 Hi Aivar, thank you for your comment.
Unfortunately I’m without Windows right now, but does optipng.exe recurse into directories? If yes then that is a much shorter command, thanks.

]]>
Comment on KMS Migration from 2008 R2 to Windows Server 2012 R2 and KMS Activation Known Issues by Jan Reilink https://www.saotn.org/kms-migration-2008-r2-windows-server-2012-r2/#comment-4519 Wed, 05 Apr 2017 06:57:42 +0000 https://www.saotn.org/?p=2515#comment-4519 Hi Timanator (@TrendyTechy), thank you for your comment!

I didn’t had to clean up entries from the old KMS. The server was decommissioned and the KMS host name is a CNAME that’s easily pointed to the new KMS host name. The DNS RR _VLMCS.tcp doesn’t need to be updated that way.

You can find some more information about setting it up at https://technet.microsoft.com/en-us/library/ff793409.aspx.

]]>
Comment on Enable NTFS long paths in Windows Server 2016 by Group Policy by Jan Reilink https://www.saotn.org/ntfs-long-paths-windows-server-2016-gpo/#comment-4518 Wed, 05 Apr 2017 06:56:52 +0000 https://www.saotn.org/?p=2836#comment-4518 Hi Susan, thank you for your comments.

Yes, you can install and add the Group Policy ADMX Files to your Windows Server 2012 Domain Controller. But you can only use this GPO setting on -deploy to- Windows Server 2016, it is a 2016 only setting.

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Jan Reilink https://www.saotn.org/optimize-wordpress-hosting/#comment-4517 Wed, 05 Apr 2017 06:54:56 +0000 https://www.saotn.org/?p=2333#comment-4517 Hi Leo, thank you for your interesting question!

Yes, under rare circumstances it was possible to get control of OPcache memory files, under PHP 7 though. You may want to read Binary webshell through OPcache in PHP 7 for more information on this. This only was an issue when file based caching is enabled with opcache.file_cache=. On the Windows IIS web servers I manage, it is kept in memory.

Furthermore, it is recommended to ensure file permissions are properly in place, so website/user_A cannot access temporary files created by website/user_B. Even when they share the temporary folder. Where possible you must provide a dedicated temporary location on a per website/user basis.

]]>
Comment on How to redirect HTTP to HTTPS on IIS by Jan Reilink https://www.saotn.org/redirect-http-to-https-on-iis/#comment-4516 Wed, 05 Apr 2017 06:54:20 +0000 http://www.saotn.org/?p=1897#comment-4516 Hi Saeed, thank you for your comment and I’m sorry to hear it gives you a redirect loop. Are you trying to use the “httpRedirect” recipe, or a rewrite?

]]>
Comment on TLS: Test SMTP AUTH PLAIN authentication and verify StartTLS connections by Jan Reilink https://www.saotn.org/tls-test-smtp-auth-plain-authentication-and-verify-starttls-connections/#comment-4515 Wed, 05 Apr 2017 06:52:55 +0000 http://www.saotn.org/?p=1466#comment-4515 Hi Josh, great to hear this post helped you out in troubleshooting SMTP issues with SendGrid! Spread the word ;-)

]]>
Comment on TLS: Test SMTP AUTH PLAIN authentication and verify StartTLS connections by Josh West https://www.saotn.org/tls-test-smtp-auth-plain-authentication-and-verify-starttls-connections/#comment-4514 Tue, 04 Apr 2017 20:27:01 +0000 http://www.saotn.org/?p=1466#comment-4514 Thanks so much for this! Really helped me out in troubleshooting issues with our SMTP provider (SendGrid)

]]>
Comment on How to redirect HTTP to HTTPS on IIS by Saeed Nemati https://www.saotn.org/redirect-http-to-https-on-iis/#comment-4511 Sun, 02 Apr 2017 07:29:13 +0000 http://www.saotn.org/?p=1897#comment-4511 I get redirect loop from https to https from https to https with your HTTP redirect recipe. Any idea?

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by leo https://www.saotn.org/optimize-wordpress-hosting/#comment-4500 Sun, 26 Mar 2017 00:21:56 +0000 https://www.saotn.org/?p=2333#comment-4500 Thanks for the great article.

i have a few questions regarding opcache on php 5.x up to 7.x, i read that php-fpm doesn’t play well with opcache in shared hosting environments, allowing one site to read another site’s files. This is because opcache=on means all sites share the same memory pool, and php-fpm doesn’t check for ACLs. My question is whether the same security issue occur on IIS shared hosting environment where is opcache is a shared memory pool? Does opcache run in the context of a site’s ApplicationPoolIdentity which check for ACLs before serving from the shared opcache memory pool?

I know a way of testing by using url_fopen on php to test if a crafty file on one site can access files of another site because of opcache enabled. Solution would be to turn off url_fopen like in most production envs but that still doesn’t eliminate all possibilities at least in a shared hosting for environment.

]]>
Comment on How to redirect HTTP to HTTPS on IIS by Adding SSL Wildcard Certificates to IIS Webs | devioblog https://www.saotn.org/redirect-http-to-https-on-iis/#comment-4498 Tue, 21 Mar 2017 09:34:19 +0000 http://www.saotn.org/?p=1897#comment-4498 […] The minimal web.config to perform these redirects looks like this (source, source) […]

]]>
Comment on Check IP address blacklist status in Bash by Anonymous https://www.saotn.org/bash-check-ip-address-blacklist-status/#comment-4497 Mon, 20 Mar 2017 12:51:47 +0000 http://www.saotn.nl/?p=426#comment-4497 I like your script very much, with the sed line it did not work, but I used the sentence from the original script.
Perhaps there is a possibility to only show line that are “blacklisted” instead of all, this could be handy when us use more then 5 blacklisted servers.

]]>
Comment on Get Hyper-V guest serial number with PowerShell by Anonymous https://www.saotn.org/get-hyper-v-guest-serial-number-with-powershell/#comment-4496 Thu, 09 Mar 2017 22:51:29 +0000 https://www.saotn.org/?p=2109#comment-4496 Exactly what we needed, thank you sir!

]]>
Comment on Installing Debian GNU/Linux 7.0 (Wheezy) on HP EliteBook 8570w by Linux systeeminformatie via de command-line opvragen - ITFAQ.nl https://www.saotn.org/installing-debian-gnulinux-70-wheezy-on-hp-elitebook-8570w/#comment-4494 Wed, 08 Mar 2017 13:25:20 +0000 http://www.saotn.org/?p=1103#comment-4494 […] ik werk nog met dezelfde laptop als in 2013 toen ik Debian 7.0 installeerde op deze laptop :-) […]

]]>
Comment on AppCmd introduction and examples by Yanet Francisco https://www.saotn.org/appcmd-introduction-examples/#comment-4493 Wed, 08 Mar 2017 03:05:34 +0000 https://www.saotn.org/?p=2454#comment-4493 Hi,
How can I update or overwrite an application using appcmd. Because I am trying to complete the continuous integration for a couple of projects, but in every release I need update the existing apps and using:

add app /site.name:MySite /path:/App1 /physicalPath:”C:\MyFolder\MySite\App1″

I have an error because the application already exist. I want to know if there is some parameter that I can use and force the application update.

Thanks

]]>
Comment on Measure WordPress loading time and queries by Meta tag en scripts toevoegen in WordPress - ITFAQ.nl https://www.saotn.org/measure-wordpress-loading-time-queries/#comment-4489 Fri, 03 Mar 2017 09:35:52 +0000 https://www.saotn.org/?p=2803#comment-4489 […] scripts toevoegen in de WordPress header of footer. Zo gebruik ik dit ook voor het weergeven van de WordPress & PHP laadtijd in de footer – voor alleen ingelogde admin […]

]]>
Comment on Enable NTFS long paths in Windows Server 2016 by Group Policy by Susan E Bercaw https://www.saotn.org/ntfs-long-paths-windows-server-2016-gpo/#comment-4487 Wed, 01 Mar 2017 23:58:42 +0000 https://www.saotn.org/?p=2836#comment-4487 What do you mean by, “be sure to target it on Windows Server 2016 only.” Does this not work on Windows Server 2012?

]]>
Comment on Enable NTFS long paths in Windows Server 2016 by Group Policy by Susan E Bercaw https://www.saotn.org/ntfs-long-paths-windows-server-2016-gpo/#comment-4486 Wed, 01 Mar 2017 23:57:12 +0000 https://www.saotn.org/?p=2836#comment-4486 What do you mean by, “be sure to target it on Windows Server 2016 only”. I thought that you were saying that this would work on a Windows Server 2012 domain controller.

]]>
Comment on KMS Migration from 2008 R2 to Windows Server 2012 R2 and KMS Activation Known Issues by Timanator (@TrendyTechy) https://www.saotn.org/kms-migration-2008-r2-windows-server-2012-r2/#comment-4460 Fri, 10 Feb 2017 19:10:52 +0000 https://www.saotn.org/?p=2515#comment-4460 How do you clean up entries from the old KMS once the new server is up and running?

]]>
Comment on PowerShell: find all files owned by a particular user by Johan Leroy https://www.saotn.org/powershell-find-files-owned-user/#comment-4449 Thu, 02 Feb 2017 11:26:53 +0000 http://www.saotn.org/?p=1767#comment-4449 I’ve put the script in a .ps file and launched with powershell – there is no registration of a file (outfile name = H:\Data\old\file-user.txt and username =name.lastname). When powershell is ending, the scriptfile is opening himself. what i going wrong ?

]]>
Comment on Software deployment through WDS by Boyan Boyanov https://www.saotn.org/software-deployment-through-wds/#comment-4424 Tue, 17 Jan 2017 08:32:05 +0000 http://www.saotn.org/?p=1865#comment-4424 Nice article , now my total auto deploy is finished.

]]>
Comment on Windows Update error 0xc1420127 and 0xc190010b when upgrading Windows 8.1 to Windows 10 by Valery https://www.saotn.org/windows-update-error-0xc1420127-0xc190010b-upgrading-windows-8-1-windows-10/#comment-4412 Fri, 13 Jan 2017 18:40:05 +0000 https://www.saotn.org/?p=2430#comment-4412 Thank you. It fixed the problem

]]>
Comment on WordPress advisory: Akal premium theme XSS vulnerability & abandonded by Meryl Glickman https://www.saotn.org/wordpress-advisory-akal-theme-xss-vulnerability/#comment-4407 Fri, 13 Jan 2017 03:29:53 +0000 https://www.saotn.org/?p=2738#comment-4407 Do you or any of your followers have a recommendation for another theme to replace this one? My client has this theme and would like to switch. Would love any comments as to whether anyone did this and what they encountered. Note: my website listed is not the site in question; I have a confidentiality agreement and cannot provide the name of the site with the Akai theme. Thank you for your understanding.

]]>
Comment on Optimize images for the web in bulk by Aivar Luist https://www.saotn.org/bulk-optimize-images-web/#comment-4394 Tue, 10 Jan 2017 21:17:59 +0000 http://www.saotn.org/?p=1296#comment-4394 You can also run just:
c:\optipng-0.7.4-win32\optipng.exe *.png

]]>
Comment on PHP 5.6 default_charset change may break HTML output by RemBem https://www.saotn.org/php-56-default_charset-change-may-break-html-output/#comment-4376 Wed, 28 Dec 2016 11:34:59 +0000 http://www.saotn.org/?p=1913#comment-4376 Thank you, this saved my day, fixing an old site suddenly full of questionmarks after upgrading php. All your other website performance articles are also very helpful!

]]>
Comment on Exploit PHP’s mail() to get remote code execution by Max Chadwick https://www.saotn.org/exploit-phps-mail-get-remote-code-execution/#comment-4374 Tue, 27 Dec 2016 18:13:34 +0000 http://www.saotn.org/?p=1608#comment-4374 If I’m understanding correctly, the RCE exploit seems to require that not only is sender coming from user input, but user input is also being used to execute commands directly via e.g. system(). Reading files looks like it will just work, though…

]]>
Comment on Software deployment through WDS by David Torreggiani https://www.saotn.org/software-deployment-through-wds/#comment-4367 Tue, 20 Dec 2016 22:09:47 +0000 http://www.saotn.org/?p=1865#comment-4367 Great article. Helpful!

]]>
Comment on Block BaiduSpider bot User-Agent by Lokman AKKAYA https://www.saotn.org/block-baiduspider-bot-user-agent/#comment-4361 Mon, 19 Dec 2016 05:32:35 +0000 https://www.saotn.org/?p=2062#comment-4361 See alternative example ; http://lokmanakkaya.com.tr/2013/07/18/baiduspider-bot-nasil-engellenir-baiduspider-engelleme-baiduspider-bloke/

]]>
Comment on Remove IIS Server version HTTP Response Header by PRS https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-4352 Mon, 12 Dec 2016 12:05:20 +0000 http://www.saotn.org/?p=1521#comment-4352 what is the impact,if application caching having both
Custom HTTP Response Header +set common HTTP response header

]]>
Comment on Huge increase in WordPress xmlrpc.php POST requests by eurospacenet https://www.saotn.org/huge-increase-wordpress-xmlrpc-php-post-requests/#comment-4313 Mon, 05 Dec 2016 06:50:02 +0000 http://www.saotn.org/?p=1523#comment-4313 Following .htaccess is blocking different attacks and hardens WordPress installation:

# Block the include-only files.

RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ – [F,L]
RewriteRule !^wp-includes/ – [S=3]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php – [F,L]
RewriteRule ^wp-includes/theme-compat/ – [F,L]

SecFilterEngine Off
SecFilterScanPOST Off

# Disable directory browsing
Options All -Indexes

Order Deny,Allow
Deny from all

Require all denied

# Deny access to all .htaccess files

Require all denied

Hope this helps somebody.
Cheers ;)

]]>
Comment on Enable NTFS long paths in Windows Server 2016 by Group Policy by Jan Reilink https://www.saotn.org/ntfs-long-paths-windows-server-2016-gpo/#comment-4257 Wed, 09 Nov 2016 09:49:26 +0000 https://www.saotn.org/?p=2836#comment-4257 Hi Anders, thank you for your comment. Unfortunate to hear it didn’t work for you to enable Win32 long paths.

I wouldn’t set up both a local group policy and domain group policy (GPO). They might (will) conflict with each other. If you are in a Active Directory Domain, then only set up your GPO. And you can always check with gpresult if your GPO is loaded correctly. And have you tried rebooting after enabling the GPO?

]]>
Comment on Enable NTFS long paths in Windows Server 2016 by Group Policy by Anders https://www.saotn.org/ntfs-long-paths-windows-server-2016-gpo/#comment-4256 Wed, 09 Nov 2016 09:29:15 +0000 https://www.saotn.org/?p=2836#comment-4256 I have done this, buts its not working.
Tryed on windows server 2016, local gpo and domaine gpo. Same result.
I have go all rettings in regedit and all settings is enabled.
However its still says error long paths

]]>
Comment on Install Elasticsearch on CentOS 6.7 by Jan R https://www.saotn.org/install-elasticsearch-on-centos-6-7/#comment-4252 Tue, 08 Nov 2016 06:17:00 +0000 https://www.saotn.org/?p=2213#comment-4252 Hi @SysadminHI , thank you for your comment and great to hear this post has helped you setting up Elasticsearch on CentOS! Spread the word ;-)

]]>
Comment on Install Elasticsearch on CentOS 6.7 by SysadminHI https://www.saotn.org/install-elasticsearch-on-centos-6-7/#comment-4251 Tue, 08 Nov 2016 01:59:00 +0000 https://www.saotn.org/?p=2213#comment-4251 thank you jan, this article was perfect for assisting in installing elasticsearch easily on our centos 6.8 based server. our host does not do such installations, nevertheless, they recommended this article for us to do it ourselves. all the best. -sysadmin from hawaii

]]>
Comment on Disable WordPress comments (how-to) by M. Awais https://www.saotn.org/disable-wordpress-comments/#comment-4250 Fri, 28 Oct 2016 18:49:00 +0000 http://www.saotn.org/?p=1763#comment-4250 great tutorial. I used for my site this method and this really work

]]>
Comment on Block WordPress comment spammers manually by M. Awais https://www.saotn.org/block-wordpress-comment-spammers-manually/#comment-4249 Mon, 17 Oct 2016 18:05:00 +0000 http://www.saotn.org/?p=1278#comment-4249 nice article and discuss in detail

]]>
Comment on Windows Update error 0xc1420127 and 0xc190010b when upgrading Windows 8.1 to Windows 10 by Jan R https://www.saotn.org/windows-update-error-0xc1420127-0xc190010b-upgrading-windows-8-1-windows-10/#comment-4248 Tue, 11 Oct 2016 07:28:00 +0000 https://www.saotn.org/?p=2430#comment-4248 Hi @aporlebeke, thank you for your comment and great to hear it solved the problem with Windows 10 you were facing! Spread the word ;-)

]]>
Comment on Windows Update error 0xc1420127 and 0xc190010b when upgrading Windows 8.1 to Windows 10 by AP Orlebeke https://www.saotn.org/windows-update-error-0xc1420127-0xc190010b-upgrading-windows-8-1-windows-10/#comment-4247 Mon, 10 Oct 2016 23:14:00 +0000 https://www.saotn.org/?p=2430#comment-4247 THANK YOU THANK YOU. I’d been running an old WIN 10 build (before anniversary update) for a while now because for the life of me I could not get Windows Update to successfully install the subsequent updates. I was very close to scrapping everything and just doing a full wipe and reinstall of my many many games …

Deleting the registry for the WIMMount Mounted Images was what I was missing. The troubleshooting I found here (http://answers.microsoft.com/en-us/windows/forum/windows_8-update/uanble-to-install-windows-updates-error-code/ef2cc766-2243-4e50-94d8-ce7d16538242) only confirmed that everything with my system was OK.

Thanks also for the additional checks and troubleshooting advice!

]]>
Comment on Remove IIS Server version HTTP Response Header by Vijaikanth N https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-4246 Sat, 24 Sep 2016 10:43:00 +0000 http://www.saotn.org/?p=1521#comment-4246 Hi,

When i set the existingResponse=passthrough, the server information is not displayed for the 404 status code but my custom error pages defined in IIS stopped working. Is there any workaround for this?

]]>
Comment on 8 Tips to improve Joomla! performance by Jan R https://www.saotn.org/8-tips-improve-joomla-performance/#comment-4245 Mon, 19 Sep 2016 07:54:00 +0000 http://www.saotn.org/?p=1516#comment-4245 Hi @Mirko, thank you very much for your comment and suggestions. Excuse this late reply :)

Recently, I’ve updated this post and added 4 Joomla! optimization extensions, one of which is JCH.

Regarding the SSD and CDN service, I also run a post titled 10 Practical Tips To Optimize WordPress hosting. Most of these tips address server side techniques like PHP configuration, SSD in servers, MySQL tuning, etc. These are also very important for Joomla! optimization & tuning. Have a look at the article :)

]]>
Comment on SSL in WordPress: how to move your WordPress site to HTTPS? The definitive guide by Ted Stresen-Reuter https://www.saotn.org/ssl-wordpress-move-wordpress-site-https-definitive-guide/#comment-4244 Sun, 18 Sep 2016 15:46:00 +0000 https://www.saotn.org/?p=2621#comment-4244 This was the same conclusion I drew. The SSL covers the apex domain and all subdomains so it has to be on the load balancer, but there is nothing stoping the load balancer from loading a self-signed cert for it’s connection to the web server. Looking into keeping traffic on 443 just to keep things simple. Thanks for confirming my suspicions!

]]>
Comment on SSL in WordPress: how to move your WordPress site to HTTPS? The definitive guide by Jan R https://www.saotn.org/ssl-wordpress-move-wordpress-site-https-definitive-guide/#comment-4243 Sun, 18 Sep 2016 14:31:00 +0000 https://www.saotn.org/?p=2621#comment-4243 Hi @gustavestresenreuter, thank you for your comment. Glad you liked it :)

As for the cookies, if you’re behind a load balancer, and the connection between LB and back-end server is not encrypted, then I wouldn’t try to set the Secure flag. Can’t you configure an SSL certificate on your web server? Then you can connect 443 ELB to 443 HTTPS from your instance (for example http://www.emind.co/how-to/how-to-force-https-behind-aws-elb/)

]]>
Comment on SSL in WordPress: how to move your WordPress site to HTTPS? The definitive guide by Ted Stresen-Reuter https://www.saotn.org/ssl-wordpress-move-wordpress-site-https-definitive-guide/#comment-4242 Sun, 18 Sep 2016 13:53:00 +0000 https://www.saotn.org/?p=2621#comment-4242 Great article. Any hints on dealing with cookies when sitting behind an AWS Load Balancer (which redirects 443 to 80 on the web server)?

]]>
Comment on Remove IIS Server version HTTP Response Header by Jan R https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-4241 Thu, 15 Sep 2016 14:27:00 +0000 http://www.saotn.org/?p=1521#comment-4241 Nice find @disqus_E1570bwNoJ:disqus , if you have the relevant web.config lines for me (and the scripting language you use: ASP.NET, PHP or ASP), I can add it to this post. Thanks in advance!

]]>
Comment on Remove IIS Server version HTTP Response Header by AErot https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-4240 Thu, 15 Sep 2016 10:50:00 +0000 http://www.saotn.org/?p=1521#comment-4240 Bullseye! It looks like it’s working with Passthrough :) I must think about error page in ASP.NET. Thx!

Best
AErot

]]>
Comment on Remove IIS Server version HTTP Response Header by Jan R https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-4239 Thu, 15 Sep 2016 09:10:00 +0000 http://www.saotn.org/?p=1521#comment-4239 I’ve seen your web.config in that thread. Maybe you have to add existingResponse= to your custom httpErrors node? See http://stackoverflow.com/a/31041696/1297898 for more information.

]]>
Comment on Remove IIS Server version HTTP Response Header by AErot https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-4238 Thu, 15 Sep 2016 08:53:00 +0000 http://www.saotn.org/?p=1521#comment-4238 Hi Jan R, thanks for quick response. I use your method: URL Rewrite Module Outbound Rule on IIS8. Actually I created topic on forums.iis.net ( http://forums.iis.net/t/1233506.aspx?How+to+remove+Server+Name+Microsoft+IIS+8+5+from+HTTP+headers+ ) (where is my config file), but I have not received accurate answer yet.

I’m still looking for help..

Regards
AErot

]]>
Comment on Remove IIS Server version HTTP Response Header by Jan R https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-4237 Thu, 15 Sep 2016 07:26:00 +0000 http://www.saotn.org/?p=1521#comment-4237 Hi @disqus_E1570bwNoJ:disqus , thank you for your comment. Interesting… What are you using, PHP or ASP.NET, and which solution do you use to remove the Server: header? It might be a .NET Framework thingy.

]]>
Comment on Remove IIS Server version HTTP Response Header by AErot https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-4236 Thu, 15 Sep 2016 06:44:00 +0000 http://www.saotn.org/?p=1521#comment-4236 Hi, great article, but I’ve got question/problem..

At the first glance all seems be well, I receive modified http headers, but when I send request to doesn’t exists page (and server will return 404 webpage) server name is ‘IIS 8.5’ in the HTTP headers..

I found what is a problem – custom error pages.

When I remove httpErrors elements from web.config, Server Name header isn’t display in HTTP headers (in both cases – correct/incorrect webpage url).

How can I fix it ? (I want to have custom error pages and remove Server Name header..)

Regards
AErot

]]>
Comment on WordPress advisory: Akal premium theme XSS vulnerability & abandonded by Guest https://www.saotn.org/wordpress-advisory-akal-theme-xss-vulnerability/#comment-4235 Mon, 22 Aug 2016 23:37:00 +0000 https://www.saotn.org/?p=2738#comment-4235 Nice work :D

]]>
Comment on Get Hyper-V guest serial number with PowerShell by RegEBarclay https://www.saotn.org/get-hyper-v-guest-serial-number-with-powershell/#comment-4234 Thu, 18 Aug 2016 10:38:00 +0000 https://www.saotn.org/?p=2109#comment-4234 Very good job, sir. Thank you for sharing!

]]>
Comment on SSL in WordPress: how to move your WordPress site to HTTPS? The definitive guide by Luke Cavanagh https://www.saotn.org/ssl-wordpress-move-wordpress-site-https-definitive-guide/#comment-4233 Thu, 11 Aug 2016 17:10:00 +0000 https://www.saotn.org/?p=2621#comment-4233 Great post!

]]>
Comment on Optimize PHP’s OPcache configuration by Jan R https://www.saotn.org/optimize-php-opcache-configuration/#comment-4232 Thu, 11 Aug 2016 16:44:00 +0000 https://www.saotn.org/?p=2059#comment-4232 Thanks Luke!

]]>
Comment on Optimize PHP’s OPcache configuration by Luke Cavanagh https://www.saotn.org/optimize-php-opcache-configuration/#comment-4231 Thu, 11 Aug 2016 16:07:00 +0000 https://www.saotn.org/?p=2059#comment-4231 Awesome post, thank you for sharing!

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by Jan R https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-4230 Tue, 09 Aug 2016 13:57:00 +0000 http://www.saotn.org/?p=1747#comment-4230 Hi Fred,
I haven’t done anything special on Windows Server 2016TP5.

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by Fred https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-4229 Sun, 07 Aug 2016 13:04:00 +0000 http://www.saotn.org/?p=1747#comment-4229 Awesome to see that you found Disk Cleanup back in Server 2016. By default I assume – don’t need to add any roles/features?

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by Sneha https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-4228 Fri, 15 Jul 2016 10:48:00 +0000 http://www.saotn.org/?p=1747#comment-4228 This is not my website I just wanted to give a tool for disk clean up.

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by Jan R https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-4227 Fri, 15 Jul 2016 08:23:00 +0000 http://www.saotn.org/?p=1747#comment-4227 Thank you Sneha for your comment. Seems like you like to spam www [.] diskanalyzerpro [.] com a lot in comments, so I’ve edited your comment and removed the link.

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by Sneha https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-4226 Thu, 14 Jul 2016 09:29:00 +0000 http://www.saotn.org/?p=1747#comment-4226 The information you have shared about DISM is very useful and it seems to be the simplest way to gain disk space in your system and so performance can be improved. So, thanks for sharing such a useful information.

]]>
Comment on MySQL sleep() attacks by Phil https://www.saotn.org/mysql-sleep-attacks/#comment-3910 Mon, 27 Jun 2016 18:43:20 +0000 http://www.saotn.org/?p=1560#comment-3910 Hi, i was wandering how i would make my website show me that URL so i can check for the sleep thing. im using wordpress and it keeps giving me a database error. I’ve limited max connections and memory usage and disabled all plugins but i keep getting the error. I’ve done the checking my DB credentials and repairing my database.

I use the pretty URLs on wordpress so i dont know if that is why i cant find the URL to check it.

Thanks!

Phil

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by Ronnyman https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-3907 Sat, 25 Jun 2016 00:53:54 +0000 https://www.saotn.org/?p=2181#comment-3907 I Installed WAMP and Magento 2 on Win Server 2012 R2 and fixed this error by uncommenting the php_value always_populate_raw_post_data -1 located in C–Wamp64—bin—php—php5.6.16—php.ini

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by J. Reilink https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-3819 Sun, 19 Jun 2016 08:16:55 +0000 http://www.saotn.org/?p=1747#comment-3819 Thank you for your contribution J-cztery. I’ve planned some Win2012R2 installations for tomorrow and will give it a try.

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by J-cztery https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-3818 Sun, 19 Jun 2016 06:21:53 +0000 http://www.saotn.org/?p=1747#comment-3818 Hi,
Thank you for the article. Here is my little contribution.
To see Windows Update Cleanup :
copy \\$MACHINE\C$\Windows\System32\scavengeui.dll c:\windows\System32\
copy \\$MACHINE\C$\Windows\System32\en-us\scavengeui.dll.mui c:\windows\system32\en-US\
regsvr32 c:\windows\System32\scavengeui.dll

I am not sure if this is necessary though, because after dism steps mentioned above i do not see anything to clean up anyway.

For Setup File Cleanup:
setupcln.dll
Temporary Internet Files:
ieframe.dll
Thumbnails:
thumbcache.dll

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by J. Reilink https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-3780 Sun, 29 May 2016 11:49:21 +0000 http://www.saotn.org/?p=1747#comment-3780 Hi Aaron, thank you very much and well noted. I’ve reflected your comment in the post.

]]>
Comment on Remove IIS Server version HTTP Response Header by Ansonmus https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-3768 Wed, 25 May 2016 13:43:03 +0000 http://www.saotn.org/?p=1521#comment-3768 We have tried it. But it doen’t work. Probably because of this line (MVC…): routes.IgnoreRoute(“{resource}.axd/{*pathInfo}”);

]]>
Comment on Remove IIS Server version HTTP Response Header by J. Reilink https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-3765 Wed, 25 May 2016 13:14:30 +0000 http://www.saotn.org/?p=1521#comment-3765 Have you tried the global.asax(.cs) option?

]]>
Comment on Remove IIS Server version HTTP Response Header by Ansonmus https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-3763 Wed, 25 May 2016 13:13:04 +0000 http://www.saotn.org/?p=1521#comment-3763 Thanks for the answer, do you have any idea how to fix this?

]]>
Comment on Remove IIS Server version HTTP Response Header by J. Reilink https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-3761 Wed, 25 May 2016 12:46:52 +0000 http://www.saotn.org/?p=1521#comment-3761 Hi Ansonmus, thanks for your comment.
The .axd file type is handled by the .NET Framework and often falls beyond the scope of URL Rewrite.

]]>
Comment on Remove IIS Server version HTTP Response Header by Ansonmus https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-3760 Wed, 25 May 2016 11:25:29 +0000 http://www.saotn.org/?p=1521#comment-3760 I’ve a issue with the solution.
I can do a request to /blalbla.axd (every name possible) and then the “Server” variable will have a value…

]]>
Comment on Tips to speed up WordPress, serve gzip comressed static HTML files by J. Reilink https://www.saotn.org/speed-up-wordpress-with-gzip-compression/#comment-3754 Mon, 23 May 2016 13:54:55 +0000 https://www.saotn.org/?p=2262#comment-3754 Hi Sander,
I put my web.config file here: https://www.saotn.org/web.config.txt. I’ve deleted the irrelevant items and added a few comments. It’s important to first set up your serverVariables in URL Rewrite before putting in the URL rewrite rules. And don’t forget to set up the .gz MIME-type to serve it as text/html.

]]>
Comment on Tips to speed up WordPress, serve gzip comressed static HTML files by Sander Kooger https://www.saotn.org/speed-up-wordpress-with-gzip-compression/#comment-3753 Mon, 23 May 2016 07:59:19 +0000 https://www.saotn.org/?p=2262#comment-3753 on azure it is impossible to add them using IIS interface but…. you can always add and mod the applicationhost.xdt file in root/site with the folowing code.

J reilink. When aour site is ready for a go live id like it af you gave the config a once over. See if the dutchies could help each other out.

REgards,
Sander Kooger

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by J. Reilink https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-3747 Sat, 21 May 2016 06:44:55 +0000 https://www.saotn.org/?p=2181#comment-3747 Hi!
A .swp file is a vi swap file. Vi, or vim, stores changes to the file you’re editing in a swap file or recovery (like for when vi crashes). You can recover with vi -r <filename>. This has nothing much to do with the always_populate_raw_post_data setting and Magento, but can be pretty annoying :) Use :set noswapfile, or without the “:” in your vimrc file to disable the swap file.

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by sakamotz https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-3744 Fri, 20 May 2016 10:42:14 +0000 https://www.saotn.org/?p=2181#comment-3744 I had same trouble.

In my case there is a .php.ini.swp file , I was solved Once you remove it.

> rm /etc/php5/apache2/.php.ini.swp
> /etc/init.d/apache2 restart

]]>
Comment on My WordPress web.config by J. Reilink https://www.saotn.org/my-wordpress-web-config/#comment-3732 Fri, 20 May 2016 07:16:37 +0000 https://www.saotn.org/?p=2019#comment-3732 Hi Bob,
Thank you for your comment, well noted! This must have been a “plugin gone bad” issue, the spaces are in my production web.config. Anyway, I’ve added the spaces in this post, thanks again!

]]>
Comment on My WordPress web.config by Bob https://www.saotn.org/my-wordpress-web-config/#comment-3729 Thu, 19 May 2016 16:36:48 +0000 https://www.saotn.org/?p=2019#comment-3729 This section needed spaces inserting between ” and mime, lines 108, 110, 112, 114, 116, 118, and line 140 needed a space before value

]]>
Comment on Tips to speed up WordPress, serve gzip comressed static HTML files by J. Reilink https://www.saotn.org/speed-up-wordpress-with-gzip-compression/#comment-3723 Wed, 18 May 2016 07:35:43 +0000 https://www.saotn.org/?p=2262#comment-3723 Hi Sander, thank you for your comment.

With the third rule you mean WP_Super_Cache_HTTPS_gzip? This one gives an HTTP 500 error if the serverVariables aren’t available to the website in IIS (add them using IIS Manager GUI, through URL Rewrite → View Server Variables). The Outbound Rules needs to be in place too. Just drop me a note if you’d like me to copy my web.config to web.config.txt for download.

]]>
Comment on Tips to speed up WordPress, serve gzip comressed static HTML files by sanderkooger https://www.saotn.org/speed-up-wordpress-with-gzip-compression/#comment-3722 Wed, 18 May 2016 01:59:00 +0000 https://www.saotn.org/?p=2262#comment-3722 Just debugged those rules a bit. The standard config gave me a 500. in the third rule there is a bug that generates a 500. I fixed it but dont ask me how its 0357 at night and my eyes are closing now.

]]>
Comment on HackRepair.com’s Bad Bots .htaccess in web.config for IIS by Carlo https://www.saotn.org/hackrepair-bad-bots-htaccess-web-config-iis/#comment-3720 Tue, 17 May 2016 17:50:41 +0000 https://www.saotn.org/?p=2332#comment-3720 But do you think that the blocks at bingbot and others are due to the error ?

]]>
Comment on HackRepair.com’s Bad Bots .htaccess in web.config for IIS by J. Reilink https://www.saotn.org/hackrepair-bad-bots-htaccess-web-config-iis/#comment-3719 Tue, 17 May 2016 17:26:27 +0000 https://www.saotn.org/?p=2332#comment-3719 Hi Carlo,

You’re correct. On line 39, next to “CoolBott” there is a non-ascii character. I’ve updated the post and removed the non-ascii character.

I found it using grep (for anyone interested):

grep --color='auto' -P -n "[\x80-\xFF]" web.config
grep --color='auto' -P -n '[^\x00-\x7F]' web.config

This will give you the line number, and will highlight non-ascii characters in red (from Stack Overflow).

]]>
Comment on HackRepair.com’s Bad Bots .htaccess in web.config for IIS by carlo https://www.saotn.org/hackrepair-bad-bots-htaccess-web-config-iis/#comment-3718 Tue, 17 May 2016 16:44:02 +0000 https://www.saotn.org/?p=2332#comment-3718 hi Jan,
i removed from the rules msnbot but nothing. Its blocked as bingbot (not found bingbot in the rules and cant remove it to resolve)
i removed all from the rule Query String (with revslider or as your example) but nothing
5.169.131.131 Mozilla/5.0+(Linux;+Android+5.0.1;+SAMSUNG+GT-I9505+Build/LRX22C)+AppleWebKit/537.36+(KHTML,+like+Gecko)+SamsungBrowser/4.0+Chrome/44.0.2403.133+Mobile+Safari/537.36 403 0 0 24
5.169.131.131 Mozilla/5.0+(Linux;+Android+5.0.1;+SAMSUNG+GT-I9505+Build/LRX22C)+AppleWebKit/537.36+(KHTML,+like+Gecko)+SamsungBrowser/4.0+Chrome/44.0.2403.133+Mobile+Safari/537.36 403 0 0 23

maybe the problem is to copy your code from the page to encoding issues .
In fact I found a character incorrectly and the server gave me error.
I deleted that character and the rule works but with the symptoms above .
( Maybe there is some other incorrect character and sends confusing the rule ? )
You can send it via email to a test.
Thank you

]]>
Comment on HackRepair.com’s Bad Bots .htaccess in web.config for IIS by J. Reilink https://www.saotn.org/hackrepair-bad-bots-htaccess-web-config-iis/#comment-3717 Tue, 17 May 2016 11:49:41 +0000 https://www.saotn.org/?p=2332#comment-3717 Hi Carlo, thank you for your questions.

1. I cannot find a common identifier -in this post- as to why the IP addresses 5.90.205.132, 5.90.234.18 and 151.37.23.207 got blocked. Maybe they triggered not an USER_AGENT match but a Query String (to revslider for example).

2. the web.confg code is provided AS-IS, and is an one-on-one translation of HackRepair.com’s .htaccess bad bots. The user-agent string Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) does belong to MSN bot, and is in HackRepair.com’s (and thus this) list. You can safely remove it, do a text search in your web.config for Msnbot and remove the occurrences.

Please note that a solution or piece of code never works in all thinkable situations, code is always posted “AS-IS”, and always test in non-production environments.

]]>
Comment on HackRepair.com’s Bad Bots .htaccess in web.config for IIS by carlo https://www.saotn.org/hackrepair-bad-bots-htaccess-web-config-iis/#comment-3716 Tue, 17 May 2016 10:52:47 +0000 https://www.saotn.org/?p=2332#comment-3716 Hi Jan,
two question:

1) thats are blocked. Are bad spider ?
5.90.205.132 Mozilla/5.0+(Linux;+Android+5.0.1;+SAMSUNG+GT-I9515+Build/LRX22C)+AppleWebKit/537.36+(KHTML,+like+Gecko)+SamsungBrowser/4.0+Chrome/44.0.2403.133+Mobile+Safari/537.36 403 0 0 9
or
5.90.234.18 Mozilla/5.0+(Linux;+Android+4.4.4;+Vodafone+890N+Build/KTU84P)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/50.0.2661.89+Mobile+Safari/537.36 403 0 0 24
or
151.37.23.207 Mozilla/5.0+(Mobile;+Windows+Phone+8.1;+Android+4.0;+ARM;+Trident/7.0;+Touch;+rv:11.0;+IEMobile/11.0;+NOKIA;+Lumia+635;+Vodafone)+like+iPhone+OS+7_0_3+Mac+OS+X+AppleWebKit/537+(KHTML,+like+Gecko)+Mobile+Safari/537 403 0 0 71

2) thats are blocked. msnbot or bingbot are bad bot?
157.55.39.224 Mozilla/5.0+(compatible;+bingbot/2.0;++http://www.bing.com/bingbot.htm) 403 0 0 181

u can correct the rules for IIS ?
Can send me for email that correction ?
thanks

]]>
Comment on Remove IIS Server version HTTP Response Header by J. Reilink https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-3706 Thu, 12 May 2016 11:43:33 +0000 http://www.saotn.org/?p=1521#comment-3706 Thank you very much, much appreciated! :)

]]>
Comment on Remove IIS Server version HTTP Response Header by oliverbill https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-3705 Wed, 11 May 2016 21:11:39 +0000 http://www.saotn.org/?p=1521#comment-3705 This article was very helpful. The $2 donation is worth it.

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by Aaron https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-3698 Thu, 05 May 2016 01:38:29 +0000 http://www.saotn.org/?p=1747#comment-3698 In Server 2012 R2, it appears that while cleanmgr runs after following your directions, it becomes almost useless, because after uninstalling the desktop experience you lose all the extended cleanup options such as previous windows installations, windows update cleanup etc and even temporary files cleanup. Some sort of system hook is missing that lets it scan these system areas.

]]>
Comment on Simple PowerShell introduction for Windows Server administration, automation and scripting by Flo https://www.saotn.org/powershell-introduction-windows-server-administration-automation-scripting/#comment-3695 Fri, 29 Apr 2016 12:05:09 +0000 https://www.saotn.org/?p=2350#comment-3695 Always a pleasure to read your articles !
Thxx for this , that I transmit to my sysadmin team =)

]]>
Comment on Forfiles: How to delete files recursively on Windows Server by J. Reilink https://www.saotn.org/delete-files-recursively-forfiles-on-windows-server/#comment-3492 Mon, 25 Apr 2016 09:56:19 +0000 http://www.saotn.org/?p=1290#comment-3492 Hi Jack,
Do you want to delete all sub directories, or all files with a .bb extension? Basically forfiles can do both, if you tell it to. For example, c:\temp has many subdirectories, and I want to delete all of them:

forfiles /S /P C:\temp /C "cmd /c if @isdir==TRUE rd /s /q @file

To find and delete all files with a .bb extension with forfiles:

forfiles /S /P C:\temp /M *.bb /C "cmd /c if @isdir==FALSE del @file

For testing purposes, you can always start with an echo command:

forfiles /S /P C:\temp /M *.bb /C "cmd /c if @isdir==FALSE echo del @file
]]>
Comment on Forfiles: How to delete files recursively on Windows Server by Jack https://www.saotn.org/delete-files-recursively-forfiles-on-windows-server/#comment-3489 Mon, 25 Apr 2016 09:48:37 +0000 http://www.saotn.org/?p=1290#comment-3489 Hello.
I can`t delete files which are located in more subdirectories. I have to give it full path and I have a lot of them!
How can I give it just one path and it`ll search and delete in all sub-directories? I have only an extension type I have to delete. *.bb extension.
Thanx

]]>
Comment on HackRepair.com’s Bad Bots .htaccess in web.config for IIS by J. Reilink https://www.saotn.org/hackrepair-bad-bots-htaccess-web-config-iis/#comment-3271 Tue, 19 Apr 2016 06:56:45 +0000 https://www.saotn.org/?p=2332#comment-3271 Hi Neal, thank you for your comment!

The 4.53.120.22 was somewhere in my blacklist (for as far as I can remember assigned to Websense and used as a annoying bot). Currently the IP address is assigned to Level 3 Communications, and may be used for Wi-Fi or other wireless network systems. You’re free to remove or change the line.

I’ve replaced 4.53.120.22 with 203.0.113.15, which is in a reserved testing block.

]]>
Comment on HackRepair.com’s Bad Bots .htaccess in web.config for IIS by Neal Barnett https://www.saotn.org/hackrepair-bad-bots-htaccess-web-config-iis/#comment-3265 Mon, 18 Apr 2016 22:47:41 +0000 https://www.saotn.org/?p=2332#comment-3265 Hi –

I found that the IPAdd user agent blocks iPads and iPhones. You may wish to remove it.

Thanks,
Neal

]]>
Comment on Migrate PHP ext/mysql to MySQLi by Jason McCreary (@gonedark) https://www.saotn.org/migrate-php-mysql-mysqli/#comment-3199 Wed, 13 Apr 2016 16:09:50 +0000 http://www.saotn.org/?p=1839#comment-3199 Great article with a good walk through of all of the steps. If you want this done for you automatically, I recently released a tool called PHP Shift which future readers may be interested in – https://php-shift.com/upgrade-mysql-mysqli

]]>
Comment on 8 Tips to improve Joomla! performance by Mirko https://www.saotn.org/8-tips-improve-joomla-performance/#comment-3192 Sat, 09 Apr 2016 13:28:39 +0000 http://www.saotn.org/?p=1516#comment-3192 It will great to update your good post. Maybe to suggest Joomla JCH plugin, we test it and it is amazing for pro or no-pro. Very easy to configure it (I Am talking about pro version). Furthermore, migrate to SSD hosting and use some CDN service, even free like CloudFlare. We use both on our page and they are OK. About GZIP compression, user must first contact hosting company to see if they have enabled gzip, trust me, some of them dont have it ?*##*#
Compress images , not from ThickStock to webpage :) , maybe, before put images, on page, give GIMP or PhotoShop chance :)
Have nice day

]]>
Comment on Hide .php extension with IIS URL Rewrite Module (how-to) by Froggy https://www.saotn.org/iis-url-rewrite-hide-php-extension/#comment-3191 Sat, 09 Apr 2016 11:39:07 +0000 http://www.saotn.org/?p=1478#comment-3191 Hi, I was looking for this & have implemented the same code for my website. It is a simple website with .html extension. I personally do not like the extension to be shown in browser so I applied the code in web.config file and it is working perfectly. Thank you for great knowledge sharing

]]>
Comment on Send email with Ghost using SMTP authentication and TLS encryption by Cristian O. Balan (@oviliz) https://www.saotn.org/send-email-ghost-using-smtp-authentication-tls-encryption/#comment-3177 Sun, 03 Apr 2016 17:44:35 +0000 http://www.saotn.org/?p=1507#comment-3177 Even that, Gmail says:
encryption: zoho.com didn’t encrypt this message

]]>
Comment on Optimize WordPress MySQL tables through Cron, behind the scenes by Jan Reilink https://www.saotn.org/optimize-wordpress-mysql-tables-cron/#comment-3176 Sat, 12 Mar 2016 11:06:02 +0000 https://www.saotn.org/?p=2341#comment-3176 Thanks for your reply Jean! I’m familiar with MySQLtuner, which indeed is a great script to tune MySQL. Somehow I just like going through MySQL’s configuration settings to see what’s new and can be optimized, and therefore I mostly do it myself manually. MySQLtuner can then be used to verify the settings.

]]>
Comment on Optimize WordPress MySQL tables through Cron, behind the scenes by Jean https://www.saotn.org/optimize-wordpress-mysql-tables-cron/#comment-3175 Fri, 11 Mar 2016 18:54:53 +0000 https://www.saotn.org/?p=2341#comment-3175 Great tutorial. I recently tried using MySQLtunner which is a Perl script for MySQL performance analysis and tuning. It is working perfectly for me.

Source: https://www.rosehosting.com/blog/install-and-use-mysqltuner-on-ubuntu-14-04/

]]>
Comment on MySQL sleep() attacks by Jan Reilink https://www.saotn.org/mysql-sleep-attacks/#comment-3173 Fri, 11 Mar 2016 12:44:22 +0000 http://www.saotn.org/?p=1560#comment-3173 Hi!
Just use prepared statements and you should be fine. Never try to use regular expressions or a blacklist to clean up a query.

]]>
Comment on MySQL sleep() attacks by selectcase.biz https://www.saotn.org/mysql-sleep-attacks/#comment-3172 Fri, 11 Mar 2016 11:06:47 +0000 http://www.saotn.org/?p=1560#comment-3172 what if I have a text-variable? May one exclude sleep or other injections with a regular expression, in front of the variable?

]]>
Comment on IIS Outbound Rules with gzip compression by Paul d'Aoust https://www.saotn.org/iis-outbound-rules-with-gzip-compression/#comment-3171 Thu, 10 Mar 2016 18:54:05 +0000 http://www.saotn.org/?p=1458#comment-3171 (That is, I had an outbound rule that did rewrite the response body (changed app server relative URLs to public server relative URLs), but it never actually was necessary because (a) the backend app server always knew about the frontend server’s hostname, and (b) we hardly used absolute URLs that needed rewriting anyway!)

]]>
Comment on IIS Outbound Rules with gzip compression by Paul d'Aoust https://www.saotn.org/iis-outbound-rules-with-gzip-compression/#comment-3170 Thu, 10 Mar 2016 18:51:33 +0000 http://www.saotn.org/?p=1458#comment-3170 Hi, Jan. Thanks for taking the time to get back to me! I forgot I’d commented on your article.

I did look through that SO post and I still couldn’t get my setup to work. But I eventually realised I wasn’t doing any response body rewriting, so I just left the Accept-Encoding header alone and it worked!

]]>
Comment on IIS Outbound Rules with gzip compression by Jan Reilink https://www.saotn.org/iis-outbound-rules-with-gzip-compression/#comment-3169 Thu, 10 Mar 2016 18:48:52 +0000 http://www.saotn.org/?p=1458#comment-3169 Hi Paul. Thank you for your comment and my apologies for my late reaction.

Most information in this post comes from piecing together bits and pieces from StackOverflow (https://stackoverflow.com/questions/15926203/iis-as-a-reverse-proxy-compression-of-rewritten-response-from-backend-server) and my own web.config (search query on Saotn.org).

Maybe the StackOverflow post sheds some extra light on the issue you’re facing?

]]>
Comment on Tips to speed up WordPress, serve gzip comressed static HTML files by Jan Reilink https://www.saotn.org/speed-up-wordpress-with-gzip-compression/#comment-3167 Tue, 08 Mar 2016 09:40:21 +0000 https://www.saotn.org/?p=2262#comment-3167 Hi Wigid, thank you very much for your comment.

I converted the .htaccess generated by WP-Super-Cache to IIS’ web.config (using IIS Manager) and pasted the contents in this post. I didn’t realize the &quot; got decoded to a double quote (") in the post. I’ve changed the code in this post now, thanks.

I’m not really sure about pattern="^[a-z0-9\"]+" (I would assume pattern="^[a-z0-9]+" as well), but it was in WPSC’s .htaccess too.

]]>
Comment on Tips to speed up WordPress, serve gzip comressed static HTML files by Wigid https://www.saotn.org/speed-up-wordpress-with-gzip-compression/#comment-3166 Tue, 08 Mar 2016 09:26:36 +0000 https://www.saotn.org/?p=2262#comment-3166 This is great, simple and comprehensive tutorial.
I just noticed that following rules not well performed as xml pattern=”^[a-z0-9\”]+” I can make it works by using pattern=”^[a-z0-9]+”.
Other than that this just awesome.

]]>
Comment on Optimize WordPress MySQL tables through Cron, behind the scenes by Muhammad Arslan https://www.saotn.org/optimize-wordpress-mysql-tables-cron/#comment-3165 Sat, 05 Mar 2016 11:13:36 +0000 https://www.saotn.org/?p=2341#comment-3165 Looks cool. I would give it a try and give you my feedback.

]]>
Comment on IIS Outbound Rules with gzip compression by Paul d'Aoust https://www.saotn.org/iis-outbound-rules-with-gzip-compression/#comment-3160 Tue, 01 Mar 2016 17:25:11 +0000 http://www.saotn.org/?p=1458#comment-3160 Hm, I feel like I’m missing part of your formula. I’ve got all these things in place, and yet I’m still not seeing any compression for proxied content. What’s the ordering of your IIS modules? Does it matter where `HttpCacheModule` and `RewriteModule` are in relation to `DynamicCompressionModule` and `StaticCompressionModule`?

]]>
Comment on “A domain rename operation is already in progress” by Clinton Johnson https://www.saotn.org/domain-rename-operation-already-progress/#comment-3156 Fri, 26 Feb 2016 20:44:05 +0000 http://www.saotn.org/?p=1737#comment-3156 OMG! You are amazing and wonderful! Thank you! Thank you! That was perfect!

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Jan Reilink https://www.saotn.org/optimize-wordpress-hosting/#comment-3155 Fri, 26 Feb 2016 07:17:53 +0000 https://www.saotn.org/?p=2333#comment-3155 Hi Chris, thank you for your comment and suggestion. I kind of forgot about that link :-) I just spotted an error, there can’t be two or more HTTP_USER_AGENT lines when logicalGrouping is set to “MatchAll”. I’ve fixed that now.

All you can do is pointing your resellers to information like this and urge them to setting it up.

There are more WP-Super-Cache enhancements you can make: how about minifying the static supercache files or serve gzip supercache files on IIS (rewrites included). I also did an enhancement request for web.config support in WP-Super-Cache: issue #93 on GitHub.

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Chris Dempsey https://www.saotn.org/optimize-wordpress-hosting/#comment-3154 Thu, 25 Feb 2016 17:12:24 +0000 https://www.saotn.org/?p=2333#comment-3154 Where you discuss “install a cache plugin like WP-Super-Cache” you could add a link to your article with the rewrite rules for WP Super Cache – https://www.saotn.org/9-wordpress-plugins-you-need/#WP-Super-Cache_Rewrite_fix

Rewriting to the static files offers a huge performance gain for five minutes work. And you don’t need to dig into the hardware setup or software config.

I wish more of my resellers would do this instead of hammering MySQL over and over.

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Jan Reilink https://www.saotn.org/optimize-wordpress-hosting/#comment-3152 Tue, 23 Feb 2016 08:15:16 +0000 https://www.saotn.org/?p=2333#comment-3152 Hi Joshua,
Thanks(!), but no thanks. I’m (very) fine where I’m at now :-)

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by strebel https://www.saotn.org/optimize-wordpress-hosting/#comment-3151 Tue, 23 Feb 2016 02:27:33 +0000 https://www.saotn.org/?p=2333#comment-3151 Jan, Pagely is hiring. Put your knowledge to good use? https://pagely.com/careers/

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Ataul Ghani https://www.saotn.org/optimize-wordpress-hosting/#comment-3150 Mon, 22 Feb 2016 22:16:16 +0000 https://www.saotn.org/?p=2333#comment-3150 Nice article. It’s really helpful for people. Thanks! See my work http://www.wpthorp.com/

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Jamil Ahmed https://www.saotn.org/optimize-wordpress-hosting/#comment-3149 Mon, 22 Feb 2016 14:21:33 +0000 https://www.saotn.org/?p=2333#comment-3149 Cloudways isn’t a CDN, they offer optimized WordPress hosting servers of four popular clouds (DigitalOcean, Vultr, GCE, AWS).
The stack they have is Nginx, Varnish, Apache, Memcached, MySQL, PHP 5.6.

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Jan Reilink https://www.saotn.org/optimize-wordpress-hosting/#comment-3147 Mon, 22 Feb 2016 12:22:57 +0000 https://www.saotn.org/?p=2333#comment-3147 Thank you for your comment Jamil. I’m familiar with CDN services like Cloudways. A CDN can be a great addition for one’s hosting environment.

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Jan Reilink https://www.saotn.org/optimize-wordpress-hosting/#comment-3146 Mon, 22 Feb 2016 12:19:56 +0000 https://www.saotn.org/?p=2333#comment-3146 Hi Milos, thank you for your comment!

I’ve had my thoughts and questions about including the “catching exceptions” part. And true, it’s not really something for WordPress, but more for general PHP. I feel it can make a difference, especially when done wrong (I’ve tested the examples a few years ago and could reproduce the results, I don’t know if the exception handling has improved in PHP since).

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Milos https://www.saotn.org/optimize-wordpress-hosting/#comment-3145 Mon, 22 Feb 2016 10:42:07 +0000 https://www.saotn.org/?p=2333#comment-3145 Really good article, it tackles some important topics. I feel like the “avoid catching exceptions” part is unnecessary, It’s the kind of micro-optimization I would never recommend.

]]>
Comment on How to optimize your WordPress hosting – 9+ practical tips by Jamil Ahmed https://www.saotn.org/optimize-wordpress-hosting/#comment-3144 Mon, 22 Feb 2016 10:17:31 +0000 https://www.saotn.org/?p=2333#comment-3144 Hello Jan, your post is interesting. I have to say here that you have done a really good job by publishing the article above. This is really going to help a huge audience searching for such information. Have to seen Cloudways? Its a super fast managed cloud hosting platform. You can explore all its features by getting started for free. managed WordPress hosting

]]>
Comment on Huge increase in WordPress xmlrpc.php POST requests by Jan Reilink https://www.saotn.org/huge-increase-wordpress-xmlrpc-php-post-requests/#comment-3133 Sun, 21 Feb 2016 07:17:18 +0000 http://www.saotn.org/?p=1523#comment-3133 Hi Robin, thank you for your comment, nice addition!

Most actions against this xmlrpc.php abuse are aimed at having at least some XMLRPC functionality left on your site. If you redirect all requests on /xmlrcp.php to the attackers localhost (which is fun), you can also simply remove the xmlrpc.php file or prohibit the requests, either with

RewriteCond %{REQUEST_FILENAME} xmlrpc\.php [NC]
Rewriterule .* - [F,L]

or

RewriteCond %{REQUEST_URI} ^/xmlrpc\.php [NC]
RewriteRule .* - [L]
]]>
Comment on Huge increase in WordPress xmlrpc.php POST requests by Robin Wilson https://www.saotn.org/huge-increase-wordpress-xmlrpc-php-post-requests/#comment-3132 Sat, 20 Feb 2016 19:09:14 +0000 http://www.saotn.org/?p=1523#comment-3132 Thanks for posting this although for me the attacks still seemed to be coming somehow.
What worked for me was to add the following line to the .htaccess file:
Redirect 301 /xmlrpc.php http://127.0.0.1

I found the information here:
http://www.linuxbabu.net/2014/07/wordpress-xmlrpc-php-attack/

This stopped the attack with the added bonus that the attackers are now attacking themselves as 127.0.0.1 redirects back to the requester.

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by Jan Reilink https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-3130 Fri, 19 Feb 2016 16:16:44 +0000 http://www.saotn.org/?p=1747#comment-3130 Hi Gavin, thank you for your comment!

Maybe the text isn’t clear, my apologies. What I meant is I copied the files from Windows Server 2008 R2 to Server 2012, like the Applied Innovations explained.

]]>
Comment on How to: Disk Cleanup in Windows Server 2012 (R2) – DISM by Gavin Burke https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/#comment-3126 Fri, 19 Feb 2016 15:18:54 +0000 http://www.saotn.org/?p=1747#comment-3126 You said “I’ve tested this on Windows Server 2012. It may not clean up everything, but at least a lot.” – I’m wondering how given trying to install the Windows6.1-KB2852386-v2-x64.msu on a Windows Server 2012 OS gives the typical error of “Not applicable to this Operating System”?

]]>
Comment on PowerShell: find all files owned by a particular user by Jim https://www.saotn.org/powershell-find-files-owned-user/#comment-3099 Wed, 10 Feb 2016 19:15:08 +0000 http://www.saotn.org/?p=1767#comment-3099 I found my answer. By changing it to Where-Object {$_.Owner -in $users } with $users being an array I can find files of multiple users at the same time.

]]>
Comment on PowerShell: find all files owned by a particular user by Jim https://www.saotn.org/powershell-find-files-owned-user/#comment-3098 Wed, 10 Feb 2016 17:54:50 +0000 http://www.saotn.org/?p=1767#comment-3098 Question on expanding owner -eq username. I am working on taking your snippet and incorporating it in a larger script that searches directories for specific owners and moves them to an offboarding folder so that domain\user1 owned files gets moved to offboarding\user1 domain\user2 files get moved to offboarding\user2 etc. The issue I am having is feeding more than one user to $_.Owner -eq “[username]”. If I change the operator to -match I can feed it “domain\\user1|domain\\user2” but that has the issue of also finding files for domain\user12 since that matches. So I tried Where-Object{ foreach ($user in $users) {$_.Owner -eq $user}} in the statement but that does not work either.
Running the original snippet multiple times per user would be slow due to the number of files being searched.
Do you have any suggestions?

]]>
Comment on How to string replace on all WordPress posts in MySQL by Jan Reilink https://www.saotn.org/string-replace-wordpress-posts-mysql/#comment-3097 Tue, 09 Feb 2016 18:22:38 +0000 http://www.saotn.org/?p=1616#comment-3097 Hi Randy, here an update to my 1,5 year old reply. MariaDB supports REGEXP_REPLACE. It was introduced in version 10.0.5: https://mariadb.com/kb/en/mariadb/regexp_replace/. I’ll update this post as soon as possible, it seems to work like a charm:

UPDATE `wp_posts` SET `post_content` = REGEXP_REPLACE(post_content, '<pre class="brush:.*">', '<pre>');

PS: I hope you didn’t receive an email more than one time, I had to restore a database backup…

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by jaf kman https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-3094 Fri, 05 Feb 2016 22:25:24 +0000 https://www.saotn.org/?p=2181#comment-3094 Fixed the Magento2 always_populate_raw_post_data -1 issue as the php.ini file configuration is not working:

In your apache2 config file /etc/apache2/sites-available/000-default.conf
add this: php_value always_populate_raw_post_data -1

mine looks like this:

AllowOverride All
php_value always_populate_raw_post_data -1

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by jaf kman https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-3093 Fri, 05 Feb 2016 21:34:59 +0000 https://www.saotn.org/?p=2181#comment-3093 nothing happens at my server either…

Your PHP Version is 5.6.18-1+deb.sury.org~trusty+1, but always_populate_raw_post_data = 0. $HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0. This will stop the installer from running. Please open your php.ini file and set always_populate_raw_post_data to -1. If you need more help please call your hosting provider.

have changed the php.ini file with the property always_populate_raw_post_data = -1 and restarted apache2. I just keep getting the error message.

Help anyone?

]]>
Comment on WordPress wp_options table autoload micro-optimization by Daniel https://www.saotn.org/wordpress-wp-options-table-autoload-micro-optimization/#comment-2934 Wed, 20 Jan 2016 20:38:29 +0000 http://www.saotn.org/?p=1430#comment-2934 I got this query repeating itself in mysql-slow.log and I cannot figure out what it is (cannot find much on it on the web either):
UPDATE `wp_options` SET `option_value` = ‘150’ WHERE `option_name` = ‘thumbnail_size_w’;
# Query_time: 10.893515 Lock_time: 0.000031 Rows_sent: 0 Rows_examined: 1

It keeps repeating itself obscuring anything else and slowing down the mysql server.

Any ideas on how to fix this?

Thanks!

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by Jan Reilink https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-2914 Wed, 20 Jan 2016 10:25:29 +0000 https://www.saotn.org/?p=2181#comment-2914 Hi Ronny,

Thank you for your comment! In the php.ini, remove the “;” before “always_populate_raw_post_data” and change “on” to “-1”, so it becomes:

always_populate_raw_post_data = -1

Don’t forget to restart your web server afterwards.

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by Ronny https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-2913 Wed, 20 Jan 2016 09:53:43 +0000 https://www.saotn.org/?p=2181#comment-2913 Hi everyone,
I am a newbie and don’t have no experience using magento.

When I look in my php.ini file I find this
“; Always populate the $HTTP_RAW_POST_DATA variable. PHP’s default behavior is
; to disable this feature. If post reading is disabled through
; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
; http://php.net/always-populate-raw-post-data
;always_populate_raw_post_data = on”

Where do I change “always_populate_raw_post_data to -1” ?
can anybody help me with that?

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by shahzad https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-2908 Wed, 20 Jan 2016 04:44:42 +0000 https://www.saotn.org/?p=2181#comment-2908 .user.ini file Great it worked. thanks

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by danieliwao https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-2346 Mon, 07 Dec 2015 23:22:54 +0000 https://www.saotn.org/?p=2181#comment-2346 Hey I updated the php.ini file on my local host under MAMP but I’m still running into the same error. Any other advice?

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by Angela https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-2345 Mon, 07 Dec 2015 15:15:34 +0000 https://www.saotn.org/?p=2181#comment-2345 Yes I can find the php.ini file but I can’t change it, cannot find the right application for this purpose….maybe creating a new php.ini file and replacing the existing one through Notepad could help?

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by berteldk https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-2343 Sun, 06 Dec 2015 21:19:45 +0000 https://www.saotn.org/?p=2181#comment-2343 Nothing happens when i change the .ini file in my mamp folder. I assume it must be in the folder called 5.6.10/php.ini – right?

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by max https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-2342 Sat, 05 Dec 2015 07:37:31 +0000 https://www.saotn.org/?p=2181#comment-2342 You should be able to change the php.ini from /Applications/MAMP/conf/php5.6.1/php.ini

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by Jan Reilink https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-2339 Fri, 04 Dec 2015 10:24:08 +0000 https://www.saotn.org/?p=2181#comment-2339 Hi Angela, thank you for your reaction.

If you have access to the web servers’ php.ini file, you can edit it with whatever editor you prefer (Notepad on Windows, vi(m) or emacs on Linux, Brackets, TextWrangler or BBEdit on Mac OS). You should ask your hosting provider for more information and/or support. If your hosting environment supports user-defined ini-files then you can make the changes in your webroot, in a file configured by PHP. You can use the phpinfo() function to look up the required file name, or again: ask you hosting provider. Normally you should be able to create the file on your local computer, with your favorite text editor and upload it to your website using FTP.

On the shell, through ssh, you can use echo to create the file:

echo -n 'always_populate_raw_post_data = -1' > .user.ini

Assuming .user.ini is the configured filename for these types of PHP user defined ini-file.

]]>
Comment on Always_populate_raw_post_data setting in PHP 5.6 & Magento 2.0 by Angela https://www.saotn.org/always-populate-raw-post-data-magento-20/#comment-2338 Thu, 03 Dec 2015 22:16:02 +0000 https://www.saotn.org/?p=2181#comment-2338 Hi, I’m a newbie trying to install Magento on MAMP. No coding skills, what a shame…so I’ve come across this error;
PHP Settings Check
Need Help?
PHP Documentation
Your PHP Version is 5.6.10, but always_populate_raw_post_data = 0. $HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0. This will stop the installer from running. Please open your php.ini file and set always_populate_raw_post_data to -1. If you need more help please call your hosting provider.

I understand php.ini must be changed, so I’d like to know what application should be used to do so.
Any help would be highly appreciated:-)))

]]>
Comment on My WordPress web.config by Roy https://www.saotn.org/my-wordpress-web-config/#comment-2326 Mon, 23 Nov 2015 09:35:21 +0000 https://www.saotn.org/?p=2019#comment-2326 The Vevida servicedesk doesn’t know why this wouldn’t work. I’ve done some further experimenting with .htaccess and web.config but all to no avail. Suggestions as to in what direction to look for a sollution would be welcome :-) (But perhaps not through this comments thread? It is starting to look like a helpdesk forum about a problem that is not even subject of the article above.)

]]>
Comment on Joomla! websites abused as open proxy for Denial-of-Service attacks by ao https://www.saotn.org/joomla-websites-abused-open-proxy-denial-service-attacks/#comment-2323 Fri, 20 Nov 2015 09:30:07 +0000 http://www.saotn.org/?p=1731#comment-2323 Hi, thanks for the info. I’ve deleted the entire plugin directory and blocked in .htaccess, but system logs still show requests being made from /plugins/system/…….any ideas?
thanks

]]>
Comment on Authenticated SMTP + TLS in PHP, ASP and ASP.NET by Jan Reilink https://www.saotn.org/authenticated-smtp-tls/#comment-2320 Mon, 16 Nov 2015 13:43:54 +0000 http://www.saotn.org/?p=1045#comment-2320 Hi Burbano, thank you for your comment.

I’m not sure what you mean, can you please elaborate?

]]>
Comment on Encrypt email with PGP – GnuPG by Jan Reilink https://www.saotn.org/encrypt-email-with-pgp-gnupg/#comment-2318 Mon, 16 Nov 2015 12:36:00 +0000 http://www.saotn.org/?p=1126#comment-2318 Hi Darren, thank you for your comment!

As soon as I have some extra time to spare, I’ll give Encryptomatic OpenPGP a go (and maybe a review).

]]>
Comment on Encrypt email with PGP – GnuPG by Darren https://www.saotn.org/encrypt-email-with-pgp-gnupg/#comment-2317 Fri, 13 Nov 2015 21:51:52 +0000 http://www.saotn.org/?p=1126#comment-2317 GPG is wonderful project. But if you had any trouble getting it work with Outlook, we’d love your feedback on a new addin we developed for OpenPGP for Outlook. Since we are a 10 year old software development company that focuses on MS Office/Outlook, and we fully understand what a pain in the ass it can be to develop and support Outlook, we decided to take it on as a challenge and share it free for personal/non-profit/journalist use.

You can get Encryptomatic OpenPGP for Outlook at
https://www.encryptomatic.com/openpgp/

Its a clean install, code signed single installer. Support for Outlook 2016 thru 2007, both 64/32 bit versions, supports imap/pop/exchange, key servers, signing, etc. It works great for us, but If you have some ideas for us, or encounter any issues, we’d love to hear about them.
Thanks,

]]>
Comment on Authenticated SMTP + TLS in PHP, ASP and ASP.NET by Urbano Ballesteros https://www.saotn.org/authenticated-smtp-tls/#comment-2316 Fri, 13 Nov 2015 16:52:27 +0000 http://www.saotn.org/?p=1045#comment-2316 Hi JanR:

I do understand, when selected the SSL cipher
the TLS cipher it works just?

]]>
Comment on My WordPress web.config by Jan Reilink https://www.saotn.org/my-wordpress-web-config/#comment-2295 Tue, 10 Nov 2015 15:32:04 +0000 https://www.saotn.org/?p=2019#comment-2295 In my mulitsite WordPress environment, the given example web.config does exactly what you want it to do. If you can create a support call with our customer service, one of my colleagues or I can have a look at the web server to identify the problem.

]]>
Comment on My WordPress web.config by Roy https://www.saotn.org/my-wordpress-web-config/#comment-2294 Tue, 10 Nov 2015 13:27:48 +0000 https://www.saotn.org/?p=2019#comment-2294 No htaccess, web.config in the root. It looks like a default WP web.config (along with the wp-config).

Like I said, I had your code in /uploads/sites/5 but it didn’t work. I did in /uploads/
When I add the new code, it also blocks access to logged in users. I can manage that in many ways :-)
I put the second add right below the previous add (about the cookies).

It looks like I’m hijacking your thread which is basically about something else. Should we better continue by email or shall I make a ticket at Vevida?

]]>
Comment on My WordPress web.config by Jan Reilink https://www.saotn.org/my-wordpress-web-config/#comment-2293 Tue, 10 Nov 2015 11:53:57 +0000 https://www.saotn.org/?p=2019#comment-2293 Are you currently using a web.config or .htaccess in the website root? I recommend the first (web.config). The web.config rules in a sub directory inherit rules from its parent, so a web.config in /wp-content/uploads inherits the rules from a web.config in /wp-content – if one exists there – and /. Therefore I needed to clear all previous rewrite rules, see the line <clear />.

Of course this’ll block everything when you put the file in /wp-content/uploads, I put mine in /wp-content/uploads/sites/3/2015/11 for testing purposes. In your situation, you should put the web.config in /wp-content/uploads/sites/5. You can expand the web.config rewrite rule to look only for .pdf and .docx extensions, for example add a second condition:

<add
  input="{URL}"
  pattern="^*.pdf$"
  negate="false"
  ignoreCase="true"
/>
]]>
Comment on My WordPress web.config by Roy https://www.saotn.org/my-wordpress-web-config/#comment-2292 Tue, 10 Nov 2015 10:07:59 +0000 https://www.saotn.org/?p=2019#comment-2292 There’s a thought, but unfortunately no sollution… When I use this in the web.config in the uploads folder, all images, etc. are blocked, also for the public parts. Well of course! But when I use this in a web.config in the uploads/sites/5 folder, it doesn’t block anything…
Any thoughts on how the location of web.config can interfere with its working?

]]>
Comment on My WordPress web.config by Jan Reilink https://www.saotn.org/my-wordpress-web-config/#comment-2291 Tue, 10 Nov 2015 08:45:52 +0000 https://www.saotn.org/?p=2019#comment-2291 Hi Roy,

I think I may have found a solution, based on cookies. Assuming you use a WordPress members solution, where members log in and a cookie is set, the following web.config file blocks access to ALL files if no wordpress_logged_in cookie is set:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <clear />
        <rule name="Block_files_for_non-logged-in_users"
          stopProcessing="true">
          <match url="(.*)" />
          <conditions trackAllCaptures="true">
            <add
              input="{HTTP_COOKIE}"
              pattern="^.*(wordpress_logged_in).*$"
              negate="true"
              ignoreCase="true"
            />
          </conditions>
          <action
            type="CustomResponse"
            statusCode="403"
            statusReason="Forbidden: Access is denied."
            statusDescription="Access is denied!" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
</configuration>

Caveats

  • in this test-case, I put my web.config in the directory /wp-content/uploads/sites/3/2015/11, for uploads from this month. You can put the web.config file anywhere in /wp-content/uploads/sites/5
  • I had to clear all previous set URL rewrite rules using <clear />, since they interfered with this rule
  • this is a rough example, it would be better to check a cookie and its value

Translation of the rewrite rule to .htaccess should be possible and should still work if you use Helicon Ape and .htaccess files.

]]>
Comment on Forfiles: How to delete files recursively on Windows Server by Jan Reilink https://www.saotn.org/delete-files-recursively-forfiles-on-windows-server/#comment-2281 Tue, 03 Nov 2015 08:04:37 +0000 http://www.saotn.org/?p=1290#comment-2281 Hello Aaron, thank you for your comment.

With ForFiles, you can execute whatever command or script you like, so if you can script it you can execute it with ForFiles. But then I wouldn’t use ForFiles but something like PowerShell to do the job.

]]>
Comment on 8 Tips to improve Joomla! performance by Edward https://www.saotn.org/8-tips-improve-joomla-performance/#comment-2280 Tue, 03 Nov 2015 07:10:41 +0000 http://www.saotn.org/?p=1516#comment-2280 (edited, I don’t like spam)
Cool tips on how to improve joomla performance.

]]>
Comment on My WordPress web.config by Jan Reilink https://www.saotn.org/my-wordpress-web-config/#comment-2278 Mon, 02 Nov 2015 17:20:16 +0000 https://www.saotn.org/?p=2019#comment-2278 Hi Roy,

You have a working .htaccess with the functionality you’re looking for? If so, could you post the entire .htaccess?

]]>
Comment on My WordPress web.config by Roy https://www.saotn.org/my-wordpress-web-config/#comment-2277 Mon, 02 Nov 2015 14:14:52 +0000 https://www.saotn.org/?p=2019#comment-2277 htaccess doesn’t do the trick. I actually already knew that actually. htaccess blocks direct access alright, but also disallows access to logged in users. (This seems to be some combination of settings on the IIS server, on a Linux server it works like I expect it to.)

Do you have an example of a web.config that I can put in the uploads folder (preferably not the web.config in the root) that blocks direct access to pdf files? I cann’t seem to find a good example online.

]]>
Comment on My WordPress web.config by Roy https://www.saotn.org/my-wordpress-web-config/#comment-2273 Sat, 31 Oct 2015 08:32:21 +0000 https://www.saotn.org/?p=2019#comment-2273 Thank you for your reply. Subsite 5 is a members only with different levels of rights. Users should have access to the files and not just me. What I want to accomplish is that nobody can access certain files from the uploads folder outside the website. Of course somebody who is not logged in cannot access the pages, but should he have the direct url to a file in the uploads folder, he can just open it in his browser and that is what I want to prevent.

So htaccess will work? That could be something to look at indeed. I remember setting up the network was different from what I am used to. Perhaps wp-config works differently on IIS. I do not even remember :-)

]]>
Comment on My WordPress web.config by Jan Reilink https://www.saotn.org/my-wordpress-web-config/#comment-2272 Fri, 30 Oct 2015 16:29:19 +0000 https://www.saotn.org/?p=2019#comment-2272 Hello Roy, thank you for your comment and hosting with Vevida :-)

Do you want to deny access to all files in /wp-content/uploads/sites/5, or to some files? You can use both .htaccess and web.config files on our hosting platform, so if you’re comfortable with .htaccess you can stick with those. Web.config files have the advantage you can define a directory location in your web.config file in the root, to secure a sub directory (e.g location="wp-content/uploads/sites/5"). Then you’ll only need one web.config file and not multiple.

To deny access to all files in that directory, using a .htaccess file:

order deny,allow
deny from all
allow from 111.222.333.444

Where 111.222.333.444 is your IP address so you can still access the files.

In a web.config file, in wp-content/uploads/sites/5, the following should work to deny access to all anonymous users:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.web>
        <authorization>
            <deny users="?" /> 
        </authorization>
    </system.web>
</configuration>

Does this help?

]]>
Comment on My WordPress web.config by Roy https://www.saotn.org/my-wordpress-web-config/#comment-2270 Fri, 30 Oct 2015 16:05:07 +0000 https://www.saotn.org/?p=2019#comment-2270 Jan, I’m working on a WP multi site at Vevida. My first experience with a Windows box… One thing I badly want to accomplish is blocking direct access to uploads used in the members-only part of the website. I have made a members only subsite, so basically I need to block direct access to most files from that site (except the header image of course).
I ran into different methods to accomplish this, but the easiest way seem to be using web.config, like .htaccess on a Linux server. Should I edit the web.config in the root or rather create a new one in the uploads folder of the specific site (www /wp-content /uploads /sites /5) and what should be in it? I am no star in htaccess (I usually manage what I have to in the end), but since this web.config business is even newer to me (getting the network up was quite an ordeal) some suggestions might be helpfull. We are talking about mostly PDFs and handfull of DOCs.

Thanks in advance.

]]>
Comment on Forfiles: How to delete files recursively on Windows Server by Aaron Puhchawkee https://www.saotn.org/delete-files-recursively-forfiles-on-windows-server/#comment-2269 Thu, 29 Oct 2015 19:03:03 +0000 http://www.saotn.org/?p=1290#comment-2269 Is it possible to have the code delete the files older than one day but not older than 15?

]]>
Comment on Convert .htaccess to web.config by Jan Reilink https://www.saotn.org/convert-htaccess-web-config/#comment-2257 Wed, 21 Oct 2015 09:11:41 +0000 http://www.saotn.nl/?p=919#comment-2257 Hi Leandro, thank you for your comment.

I’m not sure what the problem is you’re describing, and I’m not familiar with GoDaddy hosting platform. IIS however, should not ignore Drupal’s settings.php file if PHP is set up correctly, it might ignore the .htaccess file.

I have a very old Dutch post on how to retrieve the visitors IP address in PHP: https://www.saotn.org/het-remote-address-in-php-uitlezen-proxy-safe/ (the PHP code is self explanatory). An PHP example is:

$ip = (isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? 
    $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']);

Which is what Drupal uses.

To use a web.config solution you need to have IIS’ Application Request Routing (or ARR) available, as far as I know. Maybe GoDaddy strips the X-Forwarded-For header or replaces it with its own header?

If GoDaddy is giving you such a hard time (I’ve seen many posts by you about this issue on blogs and SO), just transfer your website to a different hosting company.

]]>
Comment on Remove IIS Server version HTTP Response Header by Jan Reilink https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-2256 Wed, 21 Oct 2015 08:55:15 +0000 http://www.saotn.org/?p=1521#comment-2256 Hi Kunal, thank you for your comment.
An IIS Outbound Rule rewrites the output stream (HTTP response), so it’ll also remove the Server header from static HTML files.

]]>
Comment on Remove IIS Server version HTTP Response Header by Kunal Maurya https://www.saotn.org/remove-iis-server-version-http-response-header/#comment-2255 Tue, 20 Oct 2015 05:43:25 +0000 http://www.saotn.org/?p=1521#comment-2255 Is there any way to completely remove “Server: Microsoft-IIS/8.0” from a site having static pages only like ?

]]>
Comment on Hide .php extension with IIS URL Rewrite Module (how-to) by mike https://www.saotn.org/iis-url-rewrite-hide-php-extension/#comment-2254 Tue, 20 Oct 2015 02:41:20 +0000 http://www.saotn.org/?p=1478#comment-2254 Excellent :) thanks!!

]]>
Comment on Convert .htaccess to web.config by Leandro https://www.saotn.org/convert-htaccess-web-config/#comment-2253 Sun, 18 Oct 2015 20:33:50 +0000 http://www.saotn.nl/?p=919#comment-2253 Hello,

I have a Drupal 7 site on a (godaddy) shared server.

It’s based on IIS 7 and it means (as far as I know) IIS ignores setting.php and we have to use web.config

My goal: I need to get the (real) IP address of the client machine.

The functions I tested (including ip_address()) are returning me the value of “REMOTE_ADDR” when in my scenario the real IP address of the user is in the the X-Forwarded-For header

The solution in case of using setting.php is this:

// Tell Drupal that we are behind a reverse proxy server $conf[‘reverse_proxy’] = TRUE; // List of trusted IPs (IP numbers of our reverse proxies) $conf[‘reverse_proxy_addresses’] = array( ‘127.0.0.1’, );

Then my question is: How can we make these changes/settings using IIS/web.config file?

I tried to create a rule (web.config) to rewrite the value of REMOTE_ADDR with the X-Forwarded-Fo but It doesn’t work for me. REMOTE_ADDR is not taking the real IP (X-Forwarded-Fo) of the user. Maybe I need to add something to override this value, before “run” this rule?

I really appreciate any help with this.

Regards,

Leo.

]]>
Comment on Turn off swap by Jan Reilink https://www.saotn.org/turn-off-swap/#comment-2244 Thu, 08 Oct 2015 11:20:28 +0000 http://www.saotn.org/?p=1911#comment-2244 Hi Brian, thank you for your comment :)

Great point! However, in my opinion – and with current amounts of RAM available in systems – the need for swap often indicates a problem elsewhere. And on mission critical systems like our MySQL servers, you don’t want degraded performance because of swapping data in and out.

OTOH, if you have RAM to spare, here’s how to create a nifty RAM disk in Linux:
https://www.saotn.org/linux-ramdisk-mini-howto/ :-)

]]>
Comment on Turn off swap by Brian https://www.saotn.org/turn-off-swap/#comment-2241 Thu, 08 Oct 2015 08:52:32 +0000 http://www.saotn.org/?p=1911#comment-2241 Hi Jan,

Instead of using a complete partition as swap. You can also use a swapfile which is much more flexible. You can even use more than one swapfile on other devices. It makes your systems much more responsive. Without getting stuck on low free RAM.

# dd if=/dev/zero of=/swapfile bs=1M count=512
# chmod 600 /swapfile
# mkswap /swapfile
# swapon /swapfile

Edit the /etc/fstab to auto-enable the swapfile:
/swapfile none swap defaults 0

and for removing it:

# swapoff -a
# rm -f /swapfile
]]>
Comment on Install Node.js, iisnode module and Ghost on Windows Server / IIS by Jan Reilink https://www.saotn.org/install-nodejs-iisnode-ghost-on-windows-server-iis/#comment-2161 Tue, 06 Oct 2015 07:48:01 +0000 http://www.saotn.org/?p=1340#comment-2161 Hi Nathan,

Thank you very much for your comment and pointing out the typo! I’ve fixed it in the post now.

]]>
Comment on Install Node.js, iisnode module and Ghost on Windows Server / IIS by Nathan https://www.saotn.org/install-nodejs-iisnode-ghost-on-windows-server-iis/#comment-2160 Mon, 05 Oct 2015 21:44:55 +0000 http://www.saotn.org/?p=1340#comment-2160 There’s a typo in the file for \core\index.js

process.env.NODEENV = process.env.NODEENV || ‘production’;

should be

process.env.NODE_ENV = process.env.NODE_ENV || ‘production’;

]]>
Comment on How to: Filter web traffic with blacklists by Squidblacklist (@Squidblacklist) https://www.saotn.org/filter-web-traffic-with-blacklists/#comment-2155 Thu, 01 Oct 2015 23:04:37 +0000 http://www.saotn.nl/?p=662#comment-2155 We are the worlds leading publisher of blacklists tailored for web filtering purposes.

http://Www.squidblacklist.org

]]>
Comment on “A domain rename operation is already in progress” by Vazha Gelashvili https://www.saotn.org/domain-rename-operation-already-progress/#comment-2148 Mon, 21 Sep 2015 16:26:49 +0000 http://www.saotn.org/?p=1737#comment-2148 Thank you so much!
I have a problem with contacting domain called domain.com and I want to rename it to hd.domain.com because old domain name is single labeled and that’s why I can’t join it.Then I started renaming operation and I have got error about unfinished rename operation.
So,you helped me very much! thanks again!

]]>
Comment on Hide .php extension with IIS URL Rewrite Module (how-to) by Javed Ur Rehman https://www.saotn.org/iis-url-rewrite-hide-php-extension/#comment-2140 Fri, 04 Sep 2015 10:08:35 +0000 http://www.saotn.org/?p=1478#comment-2140 This is really nice :)

]]>
Comment on Hide .php extension with IIS URL Rewrite Module (how-to) by Jan Reilink https://www.saotn.org/iis-url-rewrite-hide-php-extension/#comment-2139 Fri, 04 Sep 2015 09:57:27 +0000 http://www.saotn.org/?p=1478#comment-2139 Thanks for your comment.

Removing the .php extension is sometimes known as “Apache multiviews”. I’ve created a post back in 2011 about this (in Dutch), for use with Helicon ISAPI Rewrite or Ape in .htaccess files and IIS URL Rewrite (web.config) on Windows Server: [snip URL, the post is now incorporated into this one].

]]>
Comment on How to delete all MAILER-DAEMON emails in Postfix queue by Jan Reilink https://www.saotn.org/delete-mailer-daemon-emails-from-postfix-queue/#comment-2138 Fri, 04 Sep 2015 09:48:39 +0000 http://www.saotn.org/?p=1494#comment-2138 Hi testerblogersTest, and thank you for your comment (which I edited for syntax highlighting).

Strange, you shouldn’t get a syntax error… I’ve checked and tested my own code, which works fine. Line 18 is exactly the same. Maybe a copy/paste or line-ending conversion error?

Note: I’ve changed $8 (recipient) to $7 (sender):

#!/bin/bash
ADDRESS=$1

if [ -z "$ADDRESS" ]
then
  echo "Usage: $0 <address>"
  exit
fi

echo "Delete all email addresses addressed to $ADDRESS from our Postfix queue."

mailq | tail -n +2 | grep -v '^ *(' | awk -v "address=$ADDRESS" 'BEGIN { RS = "" }
  {
    # if ($8 == address && $9 == "")
    if ($7 == address)
      print $1
  }
' | tr -d '*!' | postsuper -d -
./deleteMailerDaemon.sh spammer@example.com
Delete all email addresses addressed to spammer@example.com from our Postfix queue.
postsuper: 321C91820819: removed
postsuper: 8DD6E1820DA3: removed
postsuper: 7CFC21820D68: removed
postsuper: 7B1931820DC6: removed
postsuper: D91511820DA4: removed
postsuper: DC9581820DC8: removed
postsuper: D3A2E1820DE8: removed
postsuper: 5DD41182064D: removed
postsuper: C4E661820DBC: removed
postsuper: C3A3D1820D7B: removed
postsuper: 1133E1820D3C: removed
postsuper: 4000F182067F: removed
postsuper: 470D91820D7D: removed
postsuper: 2138C182078C: removed
postsuper: 2EB711820D3E: removed
postsuper: 2E2121820CFF: removed
postsuper: BD26B18207A3: removed
postsuper: BD15B1820D66: removed
postsuper: Deleted: 18 messages
]]>
Comment on How to delete all MAILER-DAEMON emails in Postfix queue by testerblogersTest https://www.saotn.org/delete-mailer-daemon-emails-from-postfix-queue/#comment-2137 Tue, 01 Sep 2015 11:41:08 +0000 http://www.saotn.org/?p=1494#comment-2137 ./delete_spam.sh test@domain.com Delete all email addresses addressed to test@domain.com from our Postfix queue. delete_spam.sh: line 18: syntax error near unexpected token `newline' delete_spam.sh: line 18: `' | tr -d '*!' | postsuper -d -' ]]> Comment on Hide .php extension with IIS URL Rewrite Module (how-to) by Javed Ur Rehman https://www.saotn.org/iis-url-rewrite-hide-php-extension/#comment-2134 Tue, 25 Aug 2015 04:41:43 +0000 http://www.saotn.org/?p=1478#comment-2134 I also wrote the small tutorial how to remove .php extension from url, hope you guys like it.
https://htmlcssphptutorial.wordpress.com/2015/08/24/remove-php-extension-from-url-using-htaccess/

]]>
Comment on WordPress wp_options table autoload micro-optimization by Jan Reilink https://www.saotn.org/wordpress-wp-options-table-autoload-micro-optimization/#comment-2089 Fri, 21 Aug 2015 07:15:04 +0000 http://www.saotn.org/?p=1430#comment-2089 Thank you for your comment, great to hear this post solved a problem you were facing.

]]>
Comment on WordPress wp_options table autoload micro-optimization by jbarrywebtest https://www.saotn.org/wordpress-wp-options-table-autoload-micro-optimization/#comment-2076 Thu, 20 Aug 2015 20:08:27 +0000 http://www.saotn.org/?p=1430#comment-2076 This helped me pinpoint and resolve a major issue we were having with slow queries on wp_options. Much Appreciated!

]]>
Comment on My WordPress web.config by Jan Reilink https://www.saotn.org/my-wordpress-web-config/#comment-1556 Sat, 04 Jul 2015 09:10:17 +0000 https://www.saotn.org/?p=2019#comment-1556 Thank you for your comment Chris, and well noticed! I’ve fixed the typo.

]]>
Comment on My WordPress web.config by Chris https://www.saotn.org/my-wordpress-web-config/#comment-1552 Fri, 03 Jul 2015 14:01:17 +0000 https://www.saotn.org/?p=2019#comment-1552 There looks to be a typo in the section to block SQL injection attacks on line #344:

scanUlr="true"

Judging by the config reference on iis.net this should be:

scanUrl="true"
]]>
Comment on How to clean up Contact Form 7 temporary captcha files on IIS web servers by Jan Reilink https://www.saotn.org/clean-contact-form-7-temporary-captcha-files-iis/#comment-987 Tue, 12 Aug 2014 05:19:24 +0000 http://www.saotn.org/?p=1413#comment-987 Hi Imtiaz, thank you for your comment. Great to hear my post provided you with a solution for this problem.

Deleting the contents of the wpcf7_uploads file is a nice addition!

]]>
Comment on How to clean up Contact Form 7 temporary captcha files on IIS web servers by Imtiaz Ahmad https://www.saotn.org/clean-contact-form-7-temporary-captcha-files-iis/#comment-985 Mon, 11 Aug 2014 19:18:20 +0000 http://www.saotn.org/?p=1413#comment-985 Great article and the only article I found to solve my problems of deleting the temporary files. I just added some more lines to cleanup the uploads of CSF7, i.e.,

if (delSessionFiles(‘wp-content/uploads/wpcf7_uploads’, ‘1800’) === TRUE) {
echo “Contact Form 7 uploaded files deleted.”;
}

]]>
Comment on PHP with WinCache on IIS by Jan Reilink https://www.saotn.org/php-wincache-on-iis/#comment-974 Wed, 30 Jul 2014 12:44:49 +0000 http://www.saotn.nl/?p=915#comment-974 Hi Dimitri, thank you for your comment and great to hear you liked it!

You do know OPcache is opcode cache only and provides no user cache like APC or WinCache? Saotn.org is not that high volume, but runs OPcache (for opcode cache) with its default settings, and WinCache for other types of caches (user cache, or even session cache if I wanted to). SitePoint has a great OPcode post available at http://www.sitepoint.com/understanding-opcache/

The PHP OPcache is easily enabled in the php.ini:

[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1

and other configuration settings may be left to their defaults.

Update: Almost exactly one year after your comment Dimitri, I created a post not about how to set up OPcache in PHP, but to optimize its configuration. You can find the article here:
https://www.saotn.org/optimize-php-opcache-configuration/

]]>
Comment on PHP with WinCache on IIS by Dimitri https://www.saotn.org/php-wincache-on-iis/#comment-973 Wed, 30 Jul 2014 12:32:12 +0000 http://www.saotn.nl/?p=915#comment-973 Hello Jan, great post. Will you do a follow up post on using the PHP opCache?
I manage a few high-traffic volume websites and at this stage do not use caching at all
as I dont know how best to implement opCache. My environment is IIS, PHP 5.5.14 on FastCGI.

Thanks.

]]>
Comment on Fix "Could not establish trust relationship for the SSL/TLS secure channel" error by Ankit https://www.saotn.org/fix-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-error/#comment-972 Tue, 29 Jul 2014 11:37:22 +0000 http://www.saotn.org/?p=1144#comment-972 I don’t think it is IIS 6.0 issue. maybe you are right. but using below code you can any certificate, but need to install in the server.

  public class AcceptAllCertificatePolicy : ICertificatePolicy
    {
        public bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request,
            int certificateProblem)
        {
            return true;
        }
    }
]]>
Comment on Remove ETags HTTP response header in IIS by Robert Vit https://www.saotn.org/remove-etags-http-header-iis/#comment-964 Wed, 09 Jul 2014 22:27:42 +0000 http://www.saotn.nl/?p=899#comment-964 Hello, i added this to the solution and is working great in my local configuration but when deployed it is not, it is renaming them from this “6820f27b1429cf1:0” to this “6820f27b1429cf1:0″,””

]]>
Comment on Huge increase in WordPress xmlrpc.php POST requests by Jan Reilink https://www.saotn.org/huge-increase-wordpress-xmlrpc-php-post-requests/#comment-963 Wed, 09 Jul 2014 10:02:30 +0000 http://www.saotn.org/?p=1523#comment-963 I’ve updated this post with some new information

]]>
Comment on Huge increase in WordPress xmlrpc.php POST requests by Jan Reilink https://www.saotn.org/huge-increase-wordpress-xmlrpc-php-post-requests/#comment-962 Tue, 08 Jul 2014 17:57:38 +0000 http://www.saotn.org/?p=1523#comment-962 Interesting Nick, thanks. I’ll see what I can come up with in our archived web server logs tomorrow.

]]>
Comment on Huge increase in WordPress xmlrpc.php POST requests by nick s https://www.saotn.org/huge-increase-wordpress-xmlrpc-php-post-requests/#comment-961 Tue, 08 Jul 2014 17:31:25 +0000 http://www.saotn.org/?p=1523#comment-961 We’re seeing a different xmlrpc.php attack alongside this one: not massively distributed, like the WinHttp.WinHttpRequest.5 attack, but instead coming out of 17 Google cloud IPs with no UA at all: http://pastebin.com/j2mY4suD

]]>
Comment on Huge increase in WordPress xmlrpc.php POST requests by Jan Reilink https://www.saotn.org/huge-increase-wordpress-xmlrpc-php-post-requests/#comment-960 Tue, 08 Jul 2014 15:11:59 +0000 http://www.saotn.org/?p=1523#comment-960 Hi Claush,

Thank you for your comment. Great to hear the quick temp fixes were enough to reduce the impact. Keep an eye out on your HTTP log files for new User-Agent strings.

I’ll update the post when (if) more information comes available.

]]>
Comment on Huge increase in WordPress xmlrpc.php POST requests by Claush https://www.saotn.org/huge-increase-wordpress-xmlrpc-php-post-requests/#comment-959 Tue, 08 Jul 2014 14:26:40 +0000 http://www.saotn.org/?p=1523#comment-959 I’v been hit with the same today on several wordpress blogs – same user agent and hit on xmlrpc.

Appreciate your quick temp fixes to hold the attacks down – hope you update if you get more information on the matter.

]]>
Comment on Joomla! HTTP 500 update error by Jan Reilink https://www.saotn.org/joomla-http-500-update-error/#comment-955 Tue, 24 Jun 2014 08:57:27 +0000 http://www.saotn.org/?p=1256#comment-955 Hi Paul,
Thank you for your comment. I’ve tested this with an update to Joomla 3.2.4 and this still works.

]]>
Comment on Fix "Could not establish trust relationship for the SSL/TLS secure channel" error by Jan Reilink https://www.saotn.org/fix-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-error/#comment-948 Fri, 06 Jun 2014 12:14:42 +0000 http://www.saotn.org/?p=1144#comment-948 Hi Manikandan,

Apparently I was mistaken (and I’ve updated the post to reflect that). Only Windows Server 2012 / IIS 8.0 supports Server Name Indication (SNI) certificates, not Windows Server 2008 / IIS 7.5. The website in question was moved to a 2012 webserver and I assumed 2008 would support it too. My apologies for the inconvenience.

]]>
Comment on Fix "Could not establish trust relationship for the SSL/TLS secure channel" error by Manikandan https://www.saotn.org/fix-could-not-establish-trust-relationship-for-the-ssltls-secure-channel-error/#comment-947 Fri, 06 Jun 2014 11:55:20 +0000 http://www.saotn.org/?p=1144#comment-947 Its great. but i got same error in Windows Server 2008 R2 with IIS 7.5 server. Can you please help me to solve this issue.

]]>
Comment on Joomla! HTTP 500 update error by Paul https://www.saotn.org/joomla-http-500-update-error/#comment-946 Tue, 03 Jun 2014 09:10:57 +0000 http://www.saotn.org/?p=1256#comment-946 Doesn’t help unfortunately. The login dialogue box still appears and the HTTP 500 error then aoccurs.

]]>
Comment on Joomla! HTTP 500 update error by Sven https://www.saotn.org/joomla-http-500-update-error/#comment-905 Tue, 03 Dec 2013 08:30:50 +0000 http://www.saotn.org/?p=1256#comment-905 THANK you so much You made my day try to fix this shit since yesterday xD

]]>
Comment on Create your own PHP based Origin Pull CDN by Jan Reilink https://www.saotn.org/origin-pull-cdn-with-php/#comment-716 Tue, 26 Nov 2013 15:42:31 +0000 http://www.saotn.org/?p=928#comment-716 Hi Antoine, thank you for your comment. I’ve removed the space, well noticed! :)

]]>
Comment on Create your own PHP based Origin Pull CDN by Antoine https://www.saotn.org/origin-pull-cdn-with-php/#comment-711 Tue, 26 Nov 2013 13:19:57 +0000 http://www.saotn.org/?p=928#comment-711 Thx for the code, it helped a lot!

There is a typo in your htaccess, you added a space just before the L. It will cause an error.

]]>
Comment on How to use .htaccess files on Windows Server IIS by Andy https://www.saotn.org/using-htaccess-in-iis/#comment-682 Mon, 25 Nov 2013 10:36:31 +0000 http://www.saotn.nl/?p=559#comment-682 Thank you for your help Jan, the script works perfectly after i got a dedicate ip address for the blog site.

]]>
Comment on How to use .htaccess files on Windows Server IIS by Jan Reilink https://www.saotn.org/using-htaccess-in-iis/#comment-541 Wed, 20 Nov 2013 11:43:42 +0000 http://www.saotn.nl/?p=559#comment-541 Hi Andy,

Thank you for your comment. Something like the following should work:

# Enable the RewriteEngine.
RewriteEngine on

# Rewrite hostheader www.mydomain.com/blog/ through to 
# blog.mydomain.com/ using a RewriteProxy request.
#
# Change example.com with your domainname and aaa.bb.ccc.d 
# with the IP address of webserver B.
#
RewriteCond %{HTTP:Host} ^(?:www.)mydomain.com$
RewriteCond %{REQUEST_URI} /blog(.+)
RewriteProxy .? http://aaa.bb.ccc.d/%1 [H]

You do need to know and use the IP address of blog.mydomain.com in the RewriteProxy rule. But are you sure you want to proxy? Why not rewrite or redirect from http://www.mydomain.com/blog/ to blog.mydomain.com?

Note: provided as-is, not tested.
Edit: misread original question, edited comment accordingly

]]>
Comment on How to use .htaccess files on Windows Server IIS by Andy https://www.saotn.org/using-htaccess-in-iis/#comment-538 Wed, 20 Nov 2013 10:33:11 +0000 http://www.saotn.nl/?p=559#comment-538 Hi Jan

These are excellent examples you have provided. I’m new to this and was wondering how would i use RewriteProxy in the following situation?

I have a website hosted by myself (www.mydomain.com), a wordpress blog hosted by another company (blog.mydomain.com), however how do i proxy the wordpress content when i type http://www.mydomain.com/blog/ in my site?

I’m using ISAPI_Rewrite 3 from Helicon with IIS6

Your help will be greatly appreciated!!

]]>
Comment on Joomla! HTTP 500 update error by Tim https://www.saotn.org/joomla-http-500-update-error/#comment-515 Tue, 19 Nov 2013 02:42:42 +0000 http://www.saotn.org/?p=1256#comment-515 Yep, fixed my issue too, thanks!!

]]>
Comment on Joomla! HTTP 500 update error by Valentin https://www.saotn.org/joomla-http-500-update-error/#comment-364 Fri, 15 Nov 2013 16:39:07 +0000 http://www.saotn.org/?p=1256#comment-364 Thank you. it works for me. You are great.

]]>
Comment on Joomla! HTTP 500 update error by Mark Keus https://www.saotn.org/joomla-http-500-update-error/#comment-346 Thu, 14 Nov 2013 21:45:07 +0000 http://www.saotn.org/?p=1256#comment-346 Thanks! Worked for me!

]]>
Comment on Umbraco doesn’t like users with MySQL databases by BigBlue https://www.saotn.org/umbraco-doesnt-like-mysql/#comment-157 Wed, 06 Nov 2013 13:22:35 +0000 http://www.saotn.org/?p=975#comment-157 Had similar problem when my hosting company moved the mySQL DB from a windows to Linux server had to change all tables names to Uppercase:

First run this in the SQL window of phpmyadmin

select concat('rename table ', table_name, ' to ' , upper(table_name) , ';')
  from information_schema.tables
  where table_schema = 'your_schema_name';

this produces a script that will change all tables names to uppercase copy the script and paste it into the SQL window and run.

As always backup the database and use at your own risk….

]]>
Comment on Cache MySQL query results with PHP WinCache by Jan Reilink https://www.saotn.org/cache-mysql-query-results-php-wincache/#comment-113 Sun, 13 Oct 2013 13:28:05 +0000 http://www.saotn.org/?p=925#comment-113 Hi John,

Thank you for your comment.
I believe the functionality you are looking for is explained here: http://www.microsoft.com/web/post/performance-tuning-php-apps-on-windows-with-wincache

And in regard to Mike Brant’s reply on http://stackoverflow.com/q/19260127: Yes, it would be better not to make a MySQL connection if $key exists in the cache. The code in this post was 1-on-1 copied from KutuKupret’s Memcached and PHP/MySQL post.

Regards,
Jan

]]>
Comment on Cache MySQL query results with PHP WinCache by John https://www.saotn.org/cache-mysql-query-results-php-wincache/#comment-103 Tue, 08 Oct 2013 21:52:04 +0000 http://www.saotn.org/?p=925#comment-103 (Please disregard my previous comment. It had a few errors.)

Hi Jan,

Thank you very much for this very useful guide! How would this need to be changed in order to cache an array of multiple rows? i.e. This is as close as I could get and it doesn’t seem to be working:

key = md5("SELECT FirstName FROM winc LIMIT 2");
$get_result = array();
$get_result = wincache_ucache_get($key);

if ($get_result) {
        while ($item = mysql_fetch_array($get_result)){
                echo "FirstName: " . $item['FirstName'] . "\n";
                echo "LastName: " . $item['LastName'] . "\n";
                echo "Age: " . $item['Age'] . "\n";
                echo "Retrieved From Cache\n";
        }
} else {
        // Run the query and get the data from the database then cache it
        // Disable MySQL Query Cache with SQL_NO_CACHE for testing!
        $query="SELECT FirstName FROM winc LIMIT 2;";
        $result = mysql_query($query);
 
        while ($row = mysql_fetch_array($result)){
                echo "FirstName: " . $row[1] . "\n";
                echo "LastName: " . $row[2] . "\n";
                echo "Age: " . $row[3] . "\n";
                echo "Retrieved from the Database\n";
	}

        // Store the result of the query for 30 seconds
        wincache_ucache_add($key, $row, 30);
 
        mysql_free_result($result);
}
]]>
Comment on Installing Debian GNU/Linux 7.0 (Wheezy) on HP EliteBook 8570w by Markus Raab https://www.saotn.org/installing-debian-gnulinux-70-wheezy-on-hp-elitebook-8570w/#comment-93 Sun, 29 Sep 2013 10:47:27 +0000 http://www.saotn.org/?p=1103#comment-93 Thanks for your answer! I have some more questions. It would be great if you can answer them too!

Does also the video acceleration work? (Can you play full-hd with only little CPU usage?)

How long does the battery last? (Typically usage with debian wheezy)

Does suspend to disk and suspend to ram works flawless?

How long does the bootup take? (To give me some idea how fast the SSD is)

Thank you,
best regards
Markus

]]>
Comment on Installing Debian GNU/Linux 7.0 (Wheezy) on HP EliteBook 8570w by JanR https://www.saotn.org/installing-debian-gnulinux-70-wheezy-on-hp-elitebook-8570w/#comment-84 Sun, 22 Sep 2013 09:04:03 +0000 http://www.saotn.org/?p=1103#comment-84 Hi Markus and Nico,

Thanks for your comments! Yes, I can hear the fan, but I don’t find it annoying. It’s not very loud. The laptop is most times in its docking station, as I use it as a workstation.

3d acceleration works, but you have to disable ‘Sync to VBlank’ through nvidia-settings.

$ glxgears 
57512 frames in 5.0 seconds = 11502.297 FPS
61624 frames in 5.0 seconds = 12324.553 FPS
61529 frames in 5.0 seconds = 12305.734 FPS
61614 frames in 5.0 seconds = 12322.739 FPS

Haven’t tried a dual monitor set up unfortunately.

]]>
Comment on Installing Debian GNU/Linux 7.0 (Wheezy) on HP EliteBook 8570w by Markus Raab https://www.saotn.org/installing-debian-gnulinux-70-wheezy-on-hp-elitebook-8570w/#comment-82 Sat, 21 Sep 2013 15:52:11 +0000 http://www.saotn.org/?p=1103#comment-82 Hi! Thanks for the tutorial!

I consider buying this laptop. Is this laptop recommendable together with wheezy?

Does the fan make noise as Nico describes?

Does video and 3d acceleration work? Does xrandr with a dual monitor work nicely?

best regards and thank you,
Markus

]]>
Comment on PHP with WinCache on IIS by JanR https://www.saotn.org/php-wincache-on-iis/#comment-44 Wed, 24 Jul 2013 07:25:05 +0000 http://www.saotn.nl/?p=915#comment-44 Hi ramzibot,
Thank you for your comment!

By not placing websites on the same partition as the operating system is just one step against directory traversal attacks. You might want to read the Windows Server 2003 hardening guide (chapter 9: “The Web Server Role”) about this: http://www.nsa.gov/ia/_files/os/win2003/MSCG-001R-2003.pdf‎.
The same goes for script engines, plus the fact you need to give read (and perhaps some write or modify) permissions for anonymous users. You don’t want that near your OS :)

Regards,
Jan

]]>
Comment on PHP with WinCache on IIS by ramzibot https://www.saotn.org/php-wincache-on-iis/#comment-43 Tue, 23 Jul 2013 18:58:04 +0000 http://www.saotn.nl/?p=915#comment-43 Hi,

This article is awesome! Is there any article about the dangers of having websites and/or script engines on the same partition as the Operating System?

thanx again for this article

]]>
Comment on Installing Debian GNU/Linux 7.0 (Wheezy) on HP EliteBook 8570w by Nico https://www.saotn.org/installing-debian-gnulinux-70-wheezy-on-hp-elitebook-8570w/#comment-38 Tue, 09 Jul 2013 19:00:00 +0000 http://www.saotn.org/?p=1103#comment-38 Hi,

I have the same EliteBook 8570w. I have installed many distro/kernel but the fan is unfortunately very noisy …

Is your cpu fan always running ? Which kernel do you use ? Did you add modules ?

Thank you,

]]>
Comment on Magento app/etc/local.xml beveiliging by JanR https://www.saotn.org/magento-appetclocal-xml-beveiliging/#comment-30 Thu, 04 Jul 2013 15:30:54 +0000 http://www.saotn.nl/?p=699#comment-30 Beste Ph,

Bedankt voor je reactie. Zeker weten dat alles goed is gegaan? Wat staat er nu nog in wwwappetclocal.xml?

If all else fails kun je altijd de locatie van app/etc/local.xml beveiligen met Helicon ISAPI_Rewrite, Ape of IIS Request Filtering, URL Rewrite.

]]>
Comment on Magento app/etc/local.xml beveiliging by Ph de Wit https://www.saotn.org/magento-appetclocal-xml-beveiliging/#comment-29 Wed, 03 Jul 2013 18:39:10 +0000 http://www.saotn.nl/?p=699#comment-29 Beste Jan,

Hartelijk dank voor bovenstaande post. Ik heb de stappen van het buiten de root plaatsen gevolgd. Volgens mij is het aardig gegaan, ik loop nu echter wel tegen een probleempje aan. Zodra ik de Magento Connect Manager wil gebruiken krijg ik een scherm te zien met onderstaande melding.

“Welcome to Magento’s Installation Wizard!”

There’s an indication that Magento files already have been downloaded.

If you feel that you have arrived to this page by mistake, please continue installation:

Continue Magento installation

Alternatively, you could proceed with Re-Downloading all packages

Magento Connect Channel Protocol:
Magento Version Stability:
Use Custom Permissions:
Deployment Type:
Re-Download All Magento Core Packages

Het lijkt erop alsof ik in het installatie proces zit. Heb je enig idee wat dat zou kunnen zijn?

Alvast bedankt voor de moeite en met vriendelijke groet,

Ph

]]>
Comment on Umbraco doesn’t like users with MySQL databases by Jan Reilink https://www.saotn.org/umbraco-doesnt-like-mysql/#comment-22 Fri, 08 Mar 2013 12:26:40 +0000 http://www.saotn.org/?p=975#comment-22 Hi Niels,

Thank you for your comment!

I know it’s a lot of work to convert the casing. Not only table names, but also column names needs converting (on the database side, or in the source code). On the other hand, looking at the source code I believe there is little or no naming convention in place for Umbraco, as to how to write table- and column names for example. The example “umbracoNode < -> umbraconode” points that out. Or the naming convention is not forced/mandatory, despite http://our.umbraco.org/wiki/reference/umbraco-best-practices. That should be step 1 IMHO, and not just for the database back-end or just MySQL.

As twittered, I’d be more than happy to test new (Beta) versions of Umbraco. But I’m simply not a .NET programmer. I’ve just set up Umbraco 6.0.2 with a SqlCE back-end (on umbraco.testingcode.org, will be there temporarily), which installs smoothly. And fortunately it’s possible to convert a MySQL database to SqlCE, either by using tools or by converting MySQL to MSSQL and then to SqlCE. Maybe I’ll devote a blog post to converting MySQL to SqlCE in the near future.

]]>
Comment on Umbraco doesn’t like users with MySQL databases by Niels Hartvig https://www.saotn.org/umbraco-doesnt-like-mysql/#comment-21 Fri, 08 Mar 2013 07:55:56 +0000 http://www.saotn.org/?p=975#comment-21 Hi Jan!

While I’d wish that MySQL just worked, our research shows that MySQL usage on Umbraco is in fact less than 10%. In addition it’s possible to use MySQL as long as you turn off case-sensitivity = there’s an easy workaround.

Step by step we’ll update our queries in the codebase so the case sensitivity eventually will be solved, but we don’t have endless resources, so I’d prefer that we prioritise fixes that improve the experience for the 90%+.

There’s nothing that prevents eager MySQL users who don’t want to turn off case sensitivity to provide patches for the core. After all, Umbraco is open source and if you have those specific demands, maybe you could consider contributing which is the currency of open source.

Best,
Niels…

]]>
Comment on Create your own PHP based Origin Pull CDN by Jan Reilink https://www.saotn.org/origin-pull-cdn-with-php/#comment-20 Sat, 23 Feb 2013 11:02:44 +0000 http://www.saotn.org/?p=928#comment-20 Very nice find and post WiZZarD, using outbound rewrite rules for this purpose :) Next time mod_proxy/mod_cache?

]]>
Comment on Remove ETags HTTP response header in IIS by Jan Reilink https://www.saotn.org/remove-etags-http-header-iis/#comment-18 Mon, 04 Feb 2013 18:08:40 +0000 http://www.saotn.nl/?p=899#comment-18 Thank you for your comment Gregory. I’ve changed the captcha to numbers only. You’re correct about that :)

It’s not whether Etag is an issue on IIS7+ or not. It’s about Yahoo Yslow complaining about the HTTP header being sent and in non webfarm set-ups the header isn’t necessary. Therefor users would want to disable this HTTP header.
Searching around on how to disable this header, there isn’t much -easy to find- information on how to properly achieve just that. Therefor I posted the one working example (from NathanFox.net) here, along with some non functional examples from Stack Overflow threads.

]]>
Comment on Remove ETags HTTP response header in IIS by Gregory Suvalian https://www.saotn.org/remove-etags-http-header-iis/#comment-17 Mon, 04 Feb 2013 16:09:33 +0000 http://www.saotn.nl/?p=899#comment-17 Cmon, your authentication code is in Dutch, how would I know that acht is equal 8?
Anyway, Etag is not an issue on IIS7+. It’s synced accross webfarm and would not require Rewrite rule. All this applicable only to IIS6.
http://blogs.iis.net/chrisad/archive/2006/12/18/iis7-deployments-calls-for-etag-usage-review-if-using.aspx

]]>
Comment on Cross site scripting (XSS) beveiligingsproblemen tegengaan in websites by Jan Reilink https://www.saotn.org/cross-site-scripting-tegengaan/#comment-16 Sat, 12 Jan 2013 08:07:35 +0000 http://www.saotn.nl/?p=703#comment-16 Beste Rinus,

De voorbeeld code op die pagina kan door een virusscanner als malware aangemerkt worden. Het zijn namelijk stukjes code uit “echte” Javascript-malware. In deze hoedanigheid gelukkig volkomen onschuldig.

]]>
Comment on Cross site scripting (XSS) beveiligingsproblemen tegengaan in websites by Rinus https://www.saotn.org/cross-site-scripting-tegengaan/#comment-15 Fri, 11 Jan 2013 22:56:19 +0000 http://www.saotn.nl/?p=703#comment-15 Hoi Jan,
Toen ik naar http://www.saotn.nl/help-vreemde-codes-mijn-website/ ging heeft mn’viruskiller een trojan geblokt, is dit een grapje van je?

Grtx,

Btw:Als je iets ziet op onze site wat niet goed is, graag even melden, alvorens dank,

]]>
Comment on Windows 7 performance tips (3): 100% netwerkbandbreedte (QoS-pakketplanner) by Guido t'Sas https://www.saotn.org/windows-7-performance-tips-3-qos-pakketplanner/#comment-12 Tue, 31 Jul 2012 07:42:54 +0000 http://www.saotn.nl/?p=695#comment-12 Dank je, Jan. Begrijp ik het goed dat ik verder niets hoef te doen? Eerlijk gezegd, snap ik er niet veel van, maar dat geeft niks als het maar ten gunste werkt en wat dat betreft vertrouw ik op jou. :-)

]]>
Comment on Windows 7 performance tips (3): 100% netwerkbandbreedte (QoS-pakketplanner) by Jan Reilink https://www.saotn.org/windows-7-performance-tips-3-qos-pakketplanner/#comment-11 Sun, 29 Jul 2012 07:50:26 +0000 http://www.saotn.nl/?p=695#comment-11 Als je geen gpedit.msc beschikbaar hebt kun je de wijziging altijd via het registry doorvoeren:

1) open regedit
2) klik door naar HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows
3) maak een nieuwe folder genaamd Psched
4) maak in de folder Psched een key (DWORD 32-bit) genaamd NonBestEffortLimit
5) geef de key de waarde bijvoorbeeld 0 of 5 (DECIMAL)
6) herstart de computer

]]>
Comment on Windows 7 performance tips (3): 100% netwerkbandbreedte (QoS-pakketplanner) by Guido t'Sas https://www.saotn.org/windows-7-performance-tips-3-qos-pakketplanner/#comment-10 Sat, 28 Jul 2012 06:25:57 +0000 http://www.saotn.nl/?p=695#comment-10 Jan,
Ik heb de 64 bits versie, volledig updated. In de 32 map staat alleen een gpedit.dll!

]]>
Comment on Windows 7 performance tips (3): 100% netwerkbandbreedte (QoS-pakketplanner) by Guido t'Sas https://www.saotn.org/windows-7-performance-tips-3-qos-pakketplanner/#comment-8 Thu, 26 Jul 2012 16:28:56 +0000 http://www.saotn.nl/?p=695#comment-8 gpedit levert bij mij niets op. ?

]]>
Comment on Windows 7 performance tips (3): 100% netwerkbandbreedte (QoS-pakketplanner) by Jan Reilink https://www.saotn.org/windows-7-performance-tips-3-qos-pakketplanner/#comment-9 Thu, 26 Jul 2012 16:17:08 +0000 http://www.saotn.nl/?p=695#comment-9 Welke versie van Windows 7 gebruik je? Het bestand moet staan in C:WindowsSystem32 en heet gpedit.msc. Het is beschikbaar in Windows 7 Professional, Ultimate en Enterprise.

]]>