0 Members and 1 Guest are viewing this topic.
mkdir -p /usr/local/apache/custom.d
git clone https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker.git
cd /root/apache-ultimate-bad-bot-blocker/Apache_2.4/custom.d && cp -r * /usr/local/apache/custom.d
sed -i "s|/etc/apache2/custom.d|/usr/local/apache/custom.d|g" /usr/local/apache/custom.d/globalblacklist.conf
cd /root && rm -rf /root/apache-ultimate-bad-bot-blocker
nano /usr/local/apache/conf/httpd.conf
#ServerName www.example.com:80
<Location "/"> # AND-combine with preceding configuration sections AuthMerging And # include black list Include /usr/local/apache/custom.d/globalblacklist.conf</Location>
service httpd restart
curl -A "80legs" https://your.domain.name