This issue is easily resolved by.
This is a rough fix...
1. Deploy the latest version of apache like 2.4....
2. The site config
<VirtualHost *:80>
# serverAdmin webmaster@localhost
# ServerName dspam.domain.local
# LogLevel debug
SuexecUserGroup dspam dspam
Addhandler cgi-script .cgi
Options +ExecCGI -Indexes
DocumentRoot /var/www/dspam
ErrorDocument 401 /login.html
Session On
SessionCookieName session path=/
SessionCryptoPassphrase secret
<Location />
AuthFormProvider ldap file
AuthType form
AuthName "DSPAM Authentication"
AuthFormLoginRequiredLocation http://dspam.domain.local/login.html
AuthLDAPURL
"ldap://192.168.5.225:389/ou=People,dc=domain,dc=local?mail?sub"
AuthLDAPBindDN "CN=LDAP Lookup,OU=Service
Accounts,OU=People,DC=domain,DC=local"
AuthLDAPBindPassword "password"
AuthUserFile /etc/dspam/webfrontend.htpasswd
LDAPReferrals Off
Require valid-user
</Location>
<Location /login.html>
Order allow,Deny
Allow from all
require all granted
</Location>
<location /logout>
SetHandler form-logout-handler
AuthName "DSPAM Authentication"
AuthFormLogoutLocation http://dspam.domain.local/login.html
</location>
<Location /dologin.html>
SetHandler form-login-handler
AuthType form
AuthName "DSPAM Authentication"
AuthFormProvider ldap file
AuthUserFile /etc/dspam/webfrontend.htpasswd
AuthFormLoginRequiredLocation http://dspam.domain.local/login.html
</Location>
# ErrorLog logs/DSPAMError_log
# CustomLog logs/DSPAMAccess_log common
</VirtualHost>
3. login.html
<html>
<head><title>Test Login</title></head>
<body>
<form method="POST" action="/dologin.html">
Username: <input type="text" name="httpd_username" value="" />
Password: <input type="password" name="httpd_password" value="" />
<input type="submit" name="login" value="Login" />
<input type="hidden" name="httpd_location"
value="http://dspam.domain.local/dspam.cgi" />
</form>
</body>
</html>
4. in dspam.cgi, add
if ($FORM{'template'} eq "logout") {
redirect("http://dspam.domain.local/logout");
5. in template add logout menu botton.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user