Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5c8ba8d3aaca24e82e0abf1bb1ac5ef7 > files > 1

dspam-web-3.10.1-1.fc14.x86_64.rpm

#
# 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>