Skip to content

Commit 8bb1f95

Browse files
Disable older curl tests in Apache install script
1 parent 6834b4a commit 8bb1f95

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

.dev-tools/install-apache-2.4.sh

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -195,34 +195,6 @@ sudo cp /home/travis/build/mitchellkrogza/apache-ultimate-bad-bot-blocker/Apache
195195
sudo service apache2 reload
196196
sudo 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

Comments
 (0)