Skip to content

Commit 91b991d

Browse files
Fix Git Markdown
1 parent 5224da0 commit 91b991d

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

CONFIGURATION.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
##### Copyright Mitchell Krog <[email protected]>
66
### Version 2.2017.04
77

8-
##Step 1:
8+
## Step 1:
99

1010
**COPY THE GLOBALBLACKLIST.CONF FILE FROM THE REPO**
1111

@@ -16,7 +16,7 @@ Copy the contents of **globalblacklist.conf** into your /etc/apache2/custom.d fo
1616

1717
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf`
1818

19-
##Step 2:
19+
## Step 2:
2020

2121
**WHITELIST ALL YOUR OWN DOMAIN NAMES AND IP ADDRESSES**
2222

@@ -37,7 +37,7 @@ Use nano, vim or any other text editor to edit both whitelist-ips.conf and white
3737

3838
When pulling any future updates now you can simply pull the latest globalblacklist.conf file and it will automatically include your whitelisted domains and IP addresses. No more remembering having to do this yourself.
3939

40-
##Step 3:
40+
## Step 3:
4141

4242
**INCLUDE THE GLOBALBLACKLIST.CONF FILE INTO A VIRTUALHOST**
4343

@@ -57,7 +57,7 @@ Include /etc/apache2/custom.d/globalblacklist.conf <<<<<< This needs to be added
5757
<IfModule mod_rewrite.c>
5858
```
5959

60-
##Step 4:
60+
## Step 4:
6161

6262
**TEST YOUR APACHE CONFIGURATION**
6363

@@ -75,7 +75,7 @@ or
7575

7676
The blocker is now active and working so now you can run some simple tests from another linux machine to make sure it's working.
7777

78-
##Step 5:
78+
## Step 5:
7979

8080
*TESTING**
8181

@@ -100,7 +100,7 @@ Should respond with 403 Forbidden
100100

101101
The Apache Ultimate Bot Blocker is now WORKING and PROTECTING your web sites !!!
102102

103-
##Step 6:
103+
## Step 6:
104104

105105
**UPDATING THE APACHE BAD BOT BLOCKER** is now easy thanks to the automatic includes for whitelisting your own domain names.
106106

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#### Includes .htaccess and robots.txt files for users without root access to their Apache Servers.
2727

2828
### WHY BLOCK BAD BOTS ?
29-
#####Bad bots are:
29+
##### Bad bots are:
3030

3131
- Bad Referrers
3232
- Bad User-Agent Strings
@@ -50,7 +50,7 @@
5050

5151
(4520 bad referrers, bots, seo companies and counting)
5252

53-
###To contribute your own bad referers
53+
### To contribute your own bad referers
5454
please add them into the
5555
https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/blob/master/Pull%20Requests%20Here%20Please/badreferers.list
5656
file and then send a Pull Request (PR).
@@ -227,7 +227,7 @@ can add that functionality if you like copying the awk statement !~ from the fir
227227

228228
# CONFIGURATION OF THE APACHE BAD BOT BLOCKER:
229229

230-
##Step 1:
230+
## Step 1:
231231

232232
**COPY THE GLOBALBLACKLIST.CONF FILE FROM THE REPO**
233233

@@ -238,7 +238,7 @@ Copy the contents of **globalblacklist.conf** into your /etc/apache2/custom.d fo
238238

239239
`sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf`
240240

241-
##Step 2:
241+
## Step 2:
242242

243243
**WHITELIST ALL YOUR OWN DOMAIN NAMES AND IP ADDRESSES**
244244

@@ -259,7 +259,7 @@ Use nano, vim or any other text editor to edit both whitelist-ips.conf and white
259259

260260
When pulling any future updates now you can simply pull the latest globalblacklist.conf file and it will automatically include your whitelisted domains and IP addresses. No more remembering having to do this yourself.
261261

262-
##Step 3:
262+
## Step 3:
263263

264264
**INCLUDE THE GLOBALBLACKLIST.CONF FILE INTO A VIRTUALHOST**
265265

@@ -279,7 +279,7 @@ Include /etc/apache2/custom.d/globalblacklist.conf <<<<<< This needs to be added
279279
<IfModule mod_rewrite.c>
280280
```
281281

282-
##Step 4:
282+
## Step 4:
283283

284284
**TEST YOUR APACHE CONFIGURATION**
285285

@@ -297,7 +297,7 @@ or
297297

298298
The blocker is now active and working so now you can run some simple tests from another linux machine to make sure it's working.
299299

300-
##Step 5:
300+
## Step 5:
301301

302302
*TESTING**
303303

@@ -322,7 +322,7 @@ Should respond with 403 Forbidden
322322

323323
The Apache Ultimate Bot Blocker is now WORKING and PROTECTING your web sites !!!
324324

325-
##Step 6:
325+
## Step 6:
326326

327327
**UPDATING THE APACHE BAD BOT BLOCKER** is now easy thanks to the automatic includes for whitelisting your own domain names.
328328

@@ -347,14 +347,14 @@ https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/raw/master/upd
347347

348348
Relax now and sleep better at night knowing your site is telling all those baddies FORBIDDEN !!!
349349

350-
##Finally - Stopping Google Analytics 'ghost' spam
350+
## Finally - Stopping Google Analytics 'ghost' spam
351351
Simply using the Apache blocker does not stop Google Analytics ghost referral spam
352352
because they are hitting Analytics directly and not always necessarily touching your website.
353353

354354
You should use regex filters in Analytics to prevent ghost referral spam.
355355
For this a simple google-exclude.txt file has been created for you and it is updated at the same time when the Nginx Blocker is updated.
356356

357-
##To stop Ghost Spam on On Analytics
357+
## To stop Ghost Spam on On Analytics
358358
Navigate to your Google Analytics Admin panel and add a Segment. (New Segment > Advanced > Conditions)
359359
This will need to be done on each and every site where you want this filter to be in effect.
360360
Google has a limit on the length of the regex so it is now broken up for you into multiple google-exclude-*.txt files.
@@ -371,13 +371,13 @@ Google has a limit on the length of the regex so it is now broken up for you int
371371
Do the same thing now for google-exclude-02.txt and google-exclude-03.txt.
372372
As the list grows there will be more google-exclude files each limited to Google's restriction limit.
373373

374-
#Or Even Better Check Out RefererSpamBlocker
374+
# Or Even Better Check Out RefererSpamBlocker
375375

376376
Also check out the awesome [Referer Spam Blocker](https://referrerspamblocker.com)
377377
for Google Analytics which uses a collaborated source of spam domains and automatically adds all the filters to your
378378
Analytics sites for you in 2 easy clicks and it is FREE.
379379

380-
##Blocking Spam Domains Using Google Webmaster Tools
380+
## Blocking Spam Domains Using Google Webmaster Tools
381381

382382
I have added the creation of a Google Disavow text file called google-disavow.txt. This file can be used in Google's Webmaster
383383
Tools to block all these domains out as spammy or bad links. Use with caution.
@@ -391,10 +391,10 @@ See the Fail2Ban folder for instructions on configuring this great add on for th
391391

392392
### If this helps you [You can buy me a beer](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TNCNMH8QVM78J):beer: or send some cheese for my mouse [![gitcheese.com](https://api.gitcheese.com/v1/projects/bc50574f-b6dc-4f08-80d4-f6ba5baf0d43/badges)](https://www.gitcheese.com/app/#/projects/bc50574f-b6dc-4f08-80d4-f6ba5baf0d43/pledges/create)
393393

394-
#MIT License
394+
# MIT License
395395

396-
##Copyright (c) 2017 Mitchell Krog - [email protected]
397-
##https://github.com/mitchellkrogza
396+
## Copyright (c) 2017 Mitchell Krog - [email protected]
397+
## https://github.com/mitchellkrogza
398398

399399
Permission is hereby granted, free of charge, to any person obtaining a copy
400400
of this software and associated documentation files (the "Software"), to deal
@@ -425,10 +425,10 @@ SOFTWARE.
425425
- https://github.com/mitchellkrogza/Fail2Ban-Blacklist-JAIL-for-Repeat-Offenders-with-Perma-Extended-Banning
426426
- https://github.com/mariusv/nginx-badbot-blocker
427427

428-
#####Into Photography?
428+
##### Into Photography?
429429
Come drop by and visit me at https://mitchellkrog.com
430430

431-
###Acknowledgements:
431+
### Acknowledgements:
432432

433433
Many parts of the generator scripts and code running behind this project have been adapted from multiple sources. In fact it's so hard to mention everyone but here are a few key people whose little snippets of code have helped me introduce new features all the time. Show them some love and check out some of their projects too
434434

0 commit comments

Comments
 (0)