Hardened WordPress Redis Zero Touch setup on Windows Server/IIS with phpredis, narrow ACLs, enrollment checks, and validation scripts.
WordPress, PHP and IIS setup of REDIS using Redis Object Cache Free Plugin
Note: This presumes you already have a working REDIS server inside your LAN. If you don’t, please see my coming post on how to set up a REDIS virtual machine on HYPER-V. You will need to install the php REDIS extension. I am using IIS 10 and Windows Server 2022, so I went to…
The response is not a valid JSON response – Windows IIS
If you’re I presume you’ve already tried some other techniques to fix the “The response is not a valid JSON response” issue with WordPress running on Windows Server and IIS. In my case, I am running PHP 8.1.8 and the issue was easy to fix. For me, the error happened while trying to save content to a Widget.…
How to get IMAGICK working under Windows Server IIS
Here is the simple method to get IMAGICK working under Windows Server 2019/2022 and IIS 10.0 and later. Presuming using PHP 7.4.X (current version is 7.4.27 as of 2/14/22). NOTE: This is not working properly under PHP 8.x Make sure you’ve downloaded the most current 7.4.X version and installed it on your IIS/PHP Manager,…
WordPress There was an error. The response is not a valid JSON response.
If you are running WordPress on IIS and experiencing this issue, another thing you can check is the FastCGI settings to make sure the OPTIONS verb is allowed. In my case, I am using a brand new setup of WordPress on a Windows Server 2019 IIS 10.0. When I went to Appearance, Widgets, made a…
How to configure IIS to allow access to apple-developer-merchantid-domain-association
Also know as how to configure IIS to permit access to files with NO extension. In this case we need to create a file in this location: https://(my-website-domain)/.well-known/apple-developer-merchantid-domain-association Create a directory in your website called “well known” Create a virtual directory in the IIS manager, alias is .well-known and point it to the directory…
webDNA Error: You are not allowed to change the price
If you are here for this: Error: You are not allowed to change the price under webDNA: How to fix: 1) look at the error text files. It will tell you which script is throwing the error. 2) edit that script and search for “password”. Find the webdna password. it will look like this: password=whatevermypasswordis…
Classic ASP switch to TLS 1.2
I recently came across a failed PCI scan for one of our clients. This failure was due to TLS 1.0 being enabled on that Windows server. We ran IISCRYPTO (link) and disabled TLS. Upon restarting the server, the Classic ASP site threw the following error: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC SQL…
WordPress 4.x auto updates under windows
If you want your WordPress install to do auto-updates (in a Windows Server based hosting setup), you need to do one simple step. Edit the hosts file. Put a local IP in there for the domain name of the site. Save the changes. Example: 10.5.5.5 www.whatever-the-site-is.com Re-log into WordPress and go to dashboard-updates…
Proper FTP setup via IIS using Passive FTP
Since PASSIVE FTP seems to be a relative standard (that I experience), and since most clients don’t understand or want to use “ACTIVE” FTP, here is the easy way to configure your firewall and FTP software on an IIS machine to permit PASSIVE FTP. Firewall Setup You’ll need two rules and one “one to one”…