diff --git a/CentOS6/CONFIGURATION.md b/CentOS6/CONFIGURATION.md index 0efa8bf4b..173e29ec3 100644 --- a/CentOS6/CONFIGURATION.md +++ b/CentOS6/CONFIGURATION.md @@ -9,7 +9,7 @@ ##Step 1: -**CREATE THE conf.f folder needed for Apache on CENTOS 6.8** +**CREATE THE conf.d folder needed for Apache on CENTOS 6.8** **You must create this folder.** @@ -17,7 +17,7 @@ Open Terminal `su` -`mkdir /etc/httpd/conf/conf.d` +`mkdir /etc/httpd/conf.d` ##Step 2: @@ -25,7 +25,7 @@ Open Terminal Copy the contents of **globalblacklist.conf** into your /etc/httpd/conf/conf.d folder. -`cd /etc/httpd/conf/conf.d` +`cd /etc/httpd/conf.d` `wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/CentOS6/conf.d/globalblacklist.conf -O globalblacklist.conf` @@ -35,7 +35,7 @@ Copy the contents of **globalblacklist.conf** into your /etc/httpd/conf/conf.d f Whitelist all your own domain names and IP addresses. **Please note important changes**, this is now done using include files so that you do not have to keep reinserting your whitelisted domains and IP addresses every time you update. -`cd /etc/httpd/conf/conf.d` +`cd /etc/httpd/conf.d` - copy the whitelist-ips.conf file into that folder @@ -72,7 +72,7 @@ When pulling any future updates now you can simply pull the latest globalblackli ErrorLog logs/mywebsite.com-error_log CustomLog logs/mywebsite.com-access_log common - Include /etc/httpd/conf/conf.d/globalblacklist.conf + Include /etc/httpd/conf.d/globalblacklist.conf ``` @@ -118,7 +118,7 @@ The Apache Ultimate Bot Blocker is now WORKING and PROTECTING your web sites !!! Updating to the latest version is now as simple as: -`cd /etc/httpd/conf/conf.d` +`cd /etc/httpd/conf.d` `su` diff --git a/CentOS6/README.md b/CentOS6/README.md index cda0aff2b..631856016 100644 --- a/CentOS6/README.md +++ b/CentOS6/README.md @@ -237,7 +237,7 @@ Open Terminal `su` -`mkdir /etc/httpd/conf/conf.d` +`mkdir /etc/httpd/conf.d` ##Step 2: @@ -245,7 +245,7 @@ Open Terminal Copy the contents of **globalblacklist.conf** into your /etc/httpd/conf/conf.d folder. -`cd /etc/httpd/conf/conf.d` +`cd /etc/httpd/conf.d` `wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/CentOS6/conf.d/globalblacklist.conf -O globalblacklist.conf` @@ -255,7 +255,7 @@ Copy the contents of **globalblacklist.conf** into your /etc/httpd/conf/conf.d f Whitelist all your own domain names and IP addresses. **Please note important changes**, this is now done using include files so that you do not have to keep reinserting your whitelisted domains and IP addresses every time you update. -`cd /etc/httpd/conf/conf.d` +`cd /etc/httpd/conf.d` - copy the whitelist-ips.conf file into that folder @@ -292,7 +292,7 @@ When pulling any future updates now you can simply pull the latest globalblackli ErrorLog logs/mywebsite.com-error_log CustomLog logs/mywebsite.com-access_log common - Include /etc/httpd/conf/conf.d/globalblacklist.conf + Include /etc/httpd/conf.d/globalblacklist.conf ``` @@ -338,7 +338,7 @@ The Apache Ultimate Bot Blocker is now WORKING and PROTECTING your web sites !!! Updating to the latest version is now as simple as: -`cd /etc/httpd/conf/conf.d` +`cd /etc/httpd/conf.d` `su` diff --git a/CentOS6/conf.d/globalblacklist.conf b/CentOS6/conf.d/globalblacklist.conf index 9970c679e..05c99ff0e 100644 --- a/CentOS6/conf.d/globalblacklist.conf +++ b/CentOS6/conf.d/globalblacklist.conf @@ -12,11 +12,11 @@ ### bad spam referrers. It also has whitelisting for your own IP's and known good IP Ranges ### Last Updated -### Mon Apr 3 11:49:03 SAST 2017 +### Tue Apr 4 11:31:47 SAST 2017 ### End Last Updated ### Generated in -### 0.292292118073 seconds +### 0.264411687851 seconds ### End Generated in # PLEASE READ the full Readme at @@ -634,7 +634,7 @@ BrowserMatchNoCase "ZyBorg" bad_bot # WHITELIST Your Own Domain Names Here using the Include File Method # New Method Uses the include file below so that when pulling future updates your # whitelisted domain names are automatically now included for you. -Include /etc/httpd/conf/conf.d/whitelist-domains.conf +Include /etc/httpd/conf.d/whitelist-domains.conf # **************************************** # SECOND BLOCK BY REFERER STRINGS AND URLS @@ -4542,7 +4542,7 @@ Allow from env=good_ref # WHITELIST all your own IP addresses using the include file below. # New Method Uses the include file below so that when pulling future updates your # whitelisted IP addresses are automatically now included for you. -Include /etc/httpd/conf/conf.d/whitelist-ips.conf +Include /etc/httpd/conf.d/whitelist-ips.conf # *********** # Google Bots diff --git a/CentOS6/updateapacheblocker.sh b/CentOS6/updateapacheblocker.sh index f7399f404..abd9fc697 100755 --- a/CentOS6/updateapacheblocker.sh +++ b/CentOS6/updateapacheblocker.sh @@ -21,7 +21,7 @@ # Add this line # yourusername ALL=(ALL) ALL -cd /etc/httpd/conf/conf.d +cd /etc/httpd/conf.d sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/CentOS6/conf.d/globalblacklist.conf -O globalblacklist.conf sudo service httpd reload | mail -s "Apache Bad Bot Blocker Updated" me@myemail.com exit 0