iDisk, hold the .mac

preamble:
I don't need .mac. I have my own hosting elsewhere, I'm a friggin sysadmin anyway, and I don't control the .mac servers. I do want something that lets me backup our macs without hassle. These are my additional notes on how to make the hacks at Running Apple's Backup Without a .Mac Account. For my version, I used a mandrake 10 machine.

Fetch this stuff:
apache_1.3.31 source
mod_ssl-2.8.18-1.3.31 source
mod_dav-1.0.3-1.3.6 source
To do list
mkdir /usr/local/apache
untar/gzip apache source to /usr/local/apache/apache_blah
untar/gzip mod_dav wherever.
./configure --with-apache=/usr/local/apache/apache_blah
make
make install
patch apache with this patch
This will make osx play nice with webdav under apache.  Otherwise you get weird behaviour and lots of error messages.
give apache ssl support
untar/gzip mod_ssl and openssl to /usr/local/apache
cd openssl-0.9.7d
./config
make
cd ../mod_ssl-blah
./configure \
    --with-apache=../apache_1.3.31 \
    --with-ssl=../openssl-0.9.7d \
    --prefix=/usr/local/apache

Now make apache
cd ../apache_1.3.31
make
make certificate
make install

add this stuff to /usr/local/apache/conf/httpd.conf

now add some passwords to /usr/local/apache/conf/passwd
htdigest -c /usr/local/apache/conf/passwd username
add your user and admin user.
mkdir /usr/local/apache/conf/Davlock


set up the scripts to spit out the auth stuff for idisk/backup to work

finally, add entrys to /etc/hosts to the macs and go add the user and password to the .mac control panel.