See mod_defensible installation details here . Open /etc/apache2/apache2.conf and go to the end where the virtual hosts are configured, and put the mod_defensible configuration right before the virtual hosts:

vi /etc/apache2/apache2.conf

# Include generic snippets of statements
Include /etc/apache2/conf.d/

DnsblUse On

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/

DnsblUse On enables mod_defensible; the DnsblServers line lists the blacklists you want to use (e.g. and, and theDnsblNameserver line defines the DNS server that mod_defensible will use to look up hosts (I found that Apache takes forever to serve pages if you don’t specify the DnsblNameserver line).

Restart Apache afterwards:

/etc/init.d/apache2 restart

Post By Editor (2,827 Posts)

Website: →