# # Web-UI for DSPAM. # <VirtualHost *:8009> ServerAdmin postmaster@localhost DocumentRoot /var/www/dspam SuexecUserGroup dspam dspam Options Indexes FollowSymLinks ExecCGI # Given we are using Basic auth SSL would be handy. # You can use the same cert:key pair Apache uses. #SSLEngine on #SSLCertificateFile /etc/pki/tls/certs/hostname.cert #SSLCertificateKeyFile /etc/pki/tls/private/hostname.key <Directory "/var/www/dspam"> AllowOverride None Options -Indexes +ExecCGI Order allow,deny Allow from all AuthType Basic AuthName "DSPAM WebUI login" AuthUserFile /var/www/dspam-passwd Require valid-user DirectoryIndex dspam.cgi AddHandler cgi-script .cgi .pl </Directory> ErrorLog /var/log/httpd/dspam-webgui-error_log CustomLog /var/log/httpd/dspam-webgui-access_log common </VirtualHost>