Loading...

Example Nginx Configurations

WordPress WordPress is incredibly simple and you need to modify very little. These configurations assume you are behind some kind of load balancer and will set the IP properly. nginx.conf: [ … ]

suPHP Configuration

Introduction suPHP is an Apache module primarily written in C++, who’s purpose is to execute PHP code as a different user to the web server. This is desirable when running [ … ]

Rewrite Rule Reference

Rewrites Rewrite domain.com to www.domain.com RewriteEngine On RewriteCond %{HTTP_HOST} !^www [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}$1 [R=301,L] Rewrite www.domain.com to domain.com RewriteEngine On RewriteCond %{HTTP_HOST} ^www.domain.com [NC] RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] Rewrite [ … ]