Dspam WebFrontend Debian Etch
I looked around and didn't find any instructions on install the Dspam web frontend on Debian Etch. So here is how I got it working.
1) Install the debian package
aptitude install dspam-webfrontend
2) Create the Virtual Host file in /etc/apache2/sites-available. It should contain the following at least. I called it dspam.
ServerAdmin admin@yourhost.com
DocumentRoot "/var/www/dspam"
ServerName dspam.yourhost.com
SuexecUserGroup dspam dspam
Options ExecCGI
Options -Indexes
Addhandler cgi-script .cgi
DirectoryIndex dspam.cgi
3) Enable the site:
a2ensite dspam
4) Create an .htaccess file in the /var/www/dspam directory. I used digest mode.
AuthName 'Dspam' AuthType Digest AuthDigestProvider file AuthUserFile /var/www/dspam.password require valid-user
5) Create the password file for valid users with htdigest.
htdigest -c /var/www/dspam.password Dspam User1
htdigest /var/www/dspam.password Dspam User2
. . . .
6) Reload apache to make it all work
/etc/init.d/apache2 force-reload
7) Goto dspam.yoursite.com and log in.
