Apache

If you're already familiar with NetBSD, this information may not be particulary new or useful to you. It's not particularly Atari-specific. I do however use this for my own reference when I install NetBSD/atari. Include etc/httpd/httpd-dav.conf Apache will be running when the system comes back up. It may not respond for a while while it is starting up. Wait for CPU utilization for httpd to go down to zero and then use another machine on the network to navigate to http://[IP address of server]. You should see "It works!"
 * 1) Make sure to run through the pkgsrc configuration described in the packages section.
 * 2) cd /usr/pkgsrc/www/apache24
 * 3) sudo make install
 * 4) su to root after the install is done.
 * 5) vi /usr/pkg/etc/httpd/httpd.conf
 * 6) Optionally uncomment the ServerName directive and set it appropriately.
 * 7) Uncomment the "User home directories" line to enable user home directories. If this is enabled, web content is stored in ~[username]/public_html
 * 8) To enable WebDAV, uncomment:
 * 1) Save and exit vi.
 * 2) To enable WebDAV, take the following steps:
 * 3) vi /usr/pkg/etc/httpd/httpd-dav.conf
 * 4) Uncomment:
 * 5) LoadModule userdir_module lib/httpd/mod_userdir.so
 * 6) LoadModule dav_lock_module lib/httpd/mod_dav_lock.so
 * 7) LoadModule dav_module lib/httpd/mod_dav.so
 * 8) LoadModule dav_fs_module lib/httpd/mod_dav_fs.so
 * 9) LoadModule auth_digest_module lib/httpd/mod_auth_digest.so
 * 10) Optionally change "require user admin" to specify a different username.
 * 11) Save and exit vi.
 * 12) mkdir /usr/pkg/var
 * 13) mkdir /usr/pkg/uploads
 * 14) htdigest -c "/usr/pkg/user.passwd" DAV-upload [Username specified above in httpd-dav.conf]
 * 15) Enter a password for the user when prompted. This is a username/password pair for digest authentication.
 * 16) chmod 640 /usr/pkg/user.passwd
 * 17) chgrp www /usr/pkg/user.passwd
 * 18) chown -R www /usr/pkg/uploads/
 * 19) chgrp -R www /usr/pkg/uploads/
 * 20) chown -R www /usr/pkg/var/
 * 21) chgrp -R www /usr/pkg/var/
 * 22) cp /usr/pkg/share/examples/rc.d/apache /etc/rc.d/apache
 * 23) vi /etc/rc.conf
 * 24) Add apache=YES
 * 25) Save and exit vi.
 * 26) shutdown -r now

If DAV was enabled above the user who was granted access will have read/write access via DAV to the /uploads directory.

Notes:
 * To start or stop apache without rebooting, use:
 * sh /etc/rc.d/apache start
 * sh /etc/rc.d/apache stop