nginx redirect single url

October 31, 2012

Objective Using nginx redirect single url Example ORIGINAL URL: REDIRECT TO: nginx basic php […]

curl test https redirect

October 30, 2012

Testing an https redirect In this example we will be testing an https redirect via curl […]

sed delete all lines after

October 26, 2012

Objective: Prep dev httpd.conf for production Tasks: Remove jenkins virtual host entry (which starts with a […]

rollback httpd.conf changes on error

October 26, 2012

To rollback httpd.conf changes on error use this script: #!/bin/bash #File: #Define this PATH_TO_NEW_HTTPD_CONF=”~/new_httpd.conf” #Backup […]

wget warm drupal cache

October 8, 2012

Objective: Warm Drupal Cache I wrote this script to warm the cache of a drupal site […]

install ruby chef centos5

October 3, 2012

To install Ruby and Chef on centos follow these steps: cd /etc/yum.repos.d && wget “” yum […]