Archive for August, 2011

Redirect all traffice to a single page with .htaccess

Thursday, August 25th, 2011


RewriteEngine on
RewriteCond %{REQUEST_URI} !/closed.html$ [NC]
RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif) [NC]
RewriteRule .* /closed.html [R=302,L]

Cpanel Sucks here is how to pipe email to a php program

Monday, August 22nd, 2011

So for some reason when you set an email address to pipe through a program it fails with cpanel. However if you log in as root you can go to /etc/valiases and edit it by hand.

email@domain: | php -f home/site_root/program_to_run.php

Streaming Audio for my Car, Rdio.com Is awesome!!!

Wednesday, August 10th, 2011

Since I purchased my first smartphone, ipod or zune, I was waiting for something that gave me the versatility that rdio.com has.

Incredible isn’t a descriptive enough word for the selections of their collection, and the user experience is phenomenal.

Step 1) Sign-up at rdio.com
Step 2) Pay for the 9.99 unlimited plan
Step 3) Install the Rdio App on your Droid / iodd
Step 4) Install $1,000 – $5,000 worth of awesome car stereo, this step is optional but you will appreciate it much more.
Step 5) Stream from your phone to your radio. And enjoy

Works well in correlation with Pandora found at pandora.com.