AFS + HTTP = no more overnight cron jobs
You can (almost) always have an up-to-date HTTP mirror of the OpenBSD source by combining AFS with Apache. In OpenBSD, make sure that you've disabled the chroot feature by putting this line in /etc/rc.conf.local:
httpd_flags="-u"
Then, modify /var/www/conf/httpd.conf so that you've edited the appropriate lines to point to your AFS filesystem:
DocumentRoot "/afs/ualberta.ca/mirror/openbsd"
and
<Directory "/afs/ualberta.ca/mirror/openbsd">
If my Big Important OpenBSD server were running a recent release, I'd have set this up by now.
No comments:
Post a Comment