Virtual Hosts for PHP5 on OS X 10.5 Leopard

I just spent a good hour trying to work out why virtual hosts wasn’t working for me on my local machine. Turns out I needed to:

1) Enable virtual hosts by uncommenting the line

Include /private/etc/apache2/extra/httpd-vhosts.conf

in httpd.conf

2) Add the line

NameVirtualHost 127.0.0.1

to httpd.conf. I put it under the line

Listen 80

for now.

then…

Continue reading

Safely Disposing Of An Old hard Drive Or Computer

So you’re upgrading your computer or replacing the hard drive and you want to be sure that the information on the old drive is no longer readable. Just delete the files or format the drive right? Nope. Still readable by bad people.

The only way to ensure the drive is no longer readable is to destroy the actual disk, and the best way to do that is to….

Continue reading