0 Members and 1 Guest are viewing this topic.
sed -i "s|/etc/apache2/custom.d|/usr/local/apache/custom.d|g" /usr/local/apache/custom.d/globalblacklist.conf
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
Include /usr/local/apache/custom.d/globalblacklist.conf
server httpd restart
11:18:35 up 6 days, 21:03, 1 user, load average: 0.12, 0.23, 0.33