Skip to content

Commit 3a37aff

Browse files
Configuration Corrections
1 parent 1402e51 commit 3a37aff

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

CONFIGURATION.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Copy the contents of **globalblacklist.conf** into your /etc/apache2/custom.d fo
1919

2020
`sudo mkdir /etc/apache2/custom.d`
2121

22-
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf`
22+
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf -O globalblacklist.conf`
2323

2424
## Step 2:
2525

@@ -31,12 +31,12 @@ Whitelist all your own domain names and IP addresses. **Please note important ch
3131

3232
- copy the whitelist-ips.conf file into that folder
3333

34-
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/whitelist-ips.conf`
34+
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/whitelist-ips.conf -O whitelist-ips.conf`
3535

3636

3737
- copy the whitelist-domains.conf file into the same folder
3838

39-
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/whitelist-domains.conf`
39+
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/whitelist-domains.conf -O whitelist-domains.conf`
4040

4141
Use nano, vim or any other text editor to edit both whitelist-ips.conf and whitelist-domains.conf to include all your own domain names and IP addresses that you want to specifically whitelist from the blocker script.
4242

@@ -113,7 +113,7 @@ Updating to the latest version is now as simple as:
113113

114114
`cd /etc/apache2/custom.d`
115115

116-
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf`
116+
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf -O globalblacklist.conf`
117117

118118
`sudo apache2ctl configtest`
119119

CentOS7/updateapacheblocker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# Add this line
2222
# yourusername ALL=(ALL) ALL
2323

24-
cd /etc/httpd/conf.d
24+
cd /etc/httpd/custom.d
2525
sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/CentOS6/conf.d/globalblacklist.conf -O globalblacklist.conf
2626
sudo service httpd reload | mail -s "Apache Bad Bot Blocker Updated" [email protected]
2727
exit 0

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Copy the contents of **globalblacklist.conf** into your /etc/apache2/custom.d fo
241241

242242
`sudo mkdir /etc/apache2/custom.d`
243243

244-
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf`
244+
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf -O globalblacklist.conf`
245245

246246
## Step 2:
247247

@@ -253,12 +253,12 @@ Whitelist all your own domain names and IP addresses. **Please note important ch
253253

254254
- copy the whitelist-ips.conf file into that folder
255255

256-
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/whitelist-ips.conf`
256+
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/whitelist-ips.conf -O whitelist-ips.conf`
257257

258258

259259
- copy the whitelist-domains.conf file into the same folder
260260

261-
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/whitelist-domains.conf`
261+
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/whitelist-domains.conf -O whitelist-domains.conf`
262262

263263
Use nano, vim or any other text editor to edit both whitelist-ips.conf and whitelist-domains.conf to include all your own domain names and IP addresses that you want to specifically whitelist from the blocker script.
264264

@@ -335,7 +335,7 @@ Updating to the latest version is now as simple as:
335335

336336
`cd /etc/apache2/custom.d`
337337

338-
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf`
338+
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf -O globalblacklist.conf`
339339

340340
`sudo apache2ctl configtest`
341341

0 commit comments

Comments
 (0)