So you want to be able to do automatic updates and plugin/theme installations, but you don’t want to leave your files wide open, or give your unprivileged PHP process too much access around the clock. This guide shows you how to set up wp-config.php with SSH specifically for php use only.
Category: Wordpress
Updated Nginx rules for New W3TC
If you have previously used the W3TC disk-enhanced rules for nginx, you may find that the newest version of W3 Total Cache no longer works with these rules. This new set of rules includes support for W3TC’s own gzipped file naming.
Securing Nginx and PHP
Nginx Flood Protection with Limit_req
I’ll show you a very simple demonstration of Nginx’s Limit Request module and how it may be helpful to you in keeping your website up if you are hit by excessive connections or HTTP based denial-of-service attacks.
Nginx Configuration Examples
Here are a number of Nginx configurations for common scenarios that should help make things easier to get started with. This page will grow as needed. Includes some sample configurations for Wordpress, Wordpress + W3TC, Drupal and NibbleBlog.
Search Page Getting Hammered?
On my Wordpress Caching write up someone mentioned asked a very good question. What good is the caching if your site gets brought down by excessive search queries? Fortunately the Nginx webserver has a way to soften the impact.
Removing l10n.js
Anyone who has upgraded to Wordpress 3.1 probably notices a new javascript being auto-loaded on their sites. It’s a very simple script that replaces htmlenities with the actual characters they represent. Here’s how to disable it.
Nginx as a Proxy to your Blog
If you’re big into autoblogs and cross-linking you’ll likely like this. Have you ever had most of your blogs on a single server (probably behind cpanel or directadmin), but wanted some of your domains to appear to be on a different IP, or even in a different country? Well this article shows you how to setup an nginx server as a proxy so that visitors see a different IP than where the site is hosted.
Migrating Cpanel to DirectAdmin
One of the most frustrating thing someone can do involving their websites is moving them from one hosting provider to another. It’s increasingly more difficult if your hosting was based on a control panel such as Cpanel, and try to migrate to a different kind of control panel or none at all. This article will show you how to migrate the two most important parts (files and database) from Cpanel to another control panel such as DirectAdmin.
Path_Info & PHP_SELF woes [NginX]
Over the last couple of years I’ve been constantly researching for a way to get the PHP environment variables to show up correctly. My latest pains were with PATH_INFO and PHP_SELF, which are now finally solved.