Mon 28 Apr 2003
Black Out, Power Off
Category : Commentary/poweroff.txt
Had a power failure at the office, where this server is kept. So we switched the server's domain name address to point to my iBook at my home, which contains an exact mirror of the server's contents. Total time to switch the mail and web servers to make them run off the iBoook - less than 10 minutes.
We ran the servers off the iBook for a while until we found that the power had come back on at the office, at which point we switched back over.
It's not rocket science, yet it has tremendous power in its simplicity of execution. It's hard to explain but if you've done this yourself, you will know. Is this why IT managers hate the Mac? It makes what they think of as their job way too simple.
Sendmail Enabler 1.04
Category : Technology/php.txt
Updated Sendmail Enabler with a new tab to check OS X's built-in web server to see if PHP is enabled (it's not by default since 10.2.x). If it is not, it will make the right incantations to turn it on.
Actually, it just copies a file containing the PHP-related directives to Apache's /etc/httpd/users directory. This file can be easily deleted to reverse the process. It doesn't touch Apache's main httpd.conf file.
With PHP enabled, a user can easily make a stock OS X Mac run a weblog, in addition to the web, mail and DNS services that I've already described (in the articles on the right side-bar).