File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,6 @@ before_install:
3838 # Install PHP 7.0
3939 - sudo apt-get update
4040 - sudo apt-get install -y --force-yes php7.0 libapache2-mod-php7.0 php7.0-fpm
41- # Add testing of Apache Bad Bot Blocker
42- - sudo mkdir /etc/apache2/custom.d
43- - cd /etc/apache2/custom.d
44- - sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf
4541 # Copy our virtual host template to sites-enabled overwriting the default site conf
4642 - sudo cp travisCI/defaultsite.tpl /etc/apache2/sites-available/000-default.conf
4743 # Copy basic testing files into /var/www
@@ -51,6 +47,10 @@ before_install:
5147 - sudo a2enmod rewrite
5248 # Set ServerName Globally
5349 - sudo cp travisCI/servername.tpl /etc/apache2/conf-available/servername.conf
50+ # Add testing of Apache Bad Bot Blocker
51+ - sudo mkdir /etc/apache2/custom.d
52+ - cd /etc/apache2/custom.d
53+ - sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf
5454 - sudo a2enconf servername
5555 # Restart apache
5656 - sudo service apache2 restart
You can’t perform that action at this time.
0 commit comments