nginx redirect single url

October 31, 2012

Objective Using nginx redirect single url Example ORIGINAL URL: http://example.com/foo REDIRECT TO: http://example.com/bar 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: deploy_new_httpd_conf.sh #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 “http://centos.karan.org/el5/ruby187/kbs-el5-ruby187.repo” yum […]