@@ -195,34 +195,6 @@ sudo cp /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/Apache
195195sudo service apache2 reload
196196sudo service apache2 restart
197197
198- # *************************************************
199- # Curl Test 1 - Check for Bad Bot "80legs"
200- # *************************************************
201-
202- printf " \n\nTEST FOR 80legs User-Agent\n\n"
203- curl -A " 80legs" http://local.dev:80/index.html
204-
205- # ******************************************************************
206- # Curl Test 2 - Check for Bad Referrer "000free.us"
207- # ******************************************************************
208-
209- printf " \n\nTEST FOR 000free.us Referrer\n\n"
210- curl -I http://local.dev:80/index.html -e http://000free.us
211-
212- # *************************************************
213- # Curl Test 3 - Check for Good Bot "Googlebot"
214- # *************************************************
215-
216- printf " \n\nTEST FOR GoogleBot User-Agent\n\n"
217- curl -A " Googlebot" http://local.dev:80/index.html
218-
219- # ******************************************************************
220- # Curl Test 4 - Check for Good Referrer "google.com"
221- # ******************************************************************
222-
223- printf " \n\nTEST FOR google.com Referrer\n\n"
224- curl -I http://local.dev:80/index.html -e http://google.com
225-
226198# *****************************************
227199# Get a copy of all conf files for checking
228200# *****************************************
0 commit comments