Security update for permissions_by_term
[yaffs-website] / vendor / instaclick / php-webdriver / test / CI / Travis / setup_apache.sh
diff --git a/vendor/instaclick/php-webdriver/test/CI/Travis/setup_apache.sh b/vendor/instaclick/php-webdriver/test/CI/Travis/setup_apache.sh
new file mode 100644 (file)
index 0000000..c33abe7
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# set up Apache
+# @see https://github.com/travis-ci/travis-ci.github.com/blob/master/docs/user/languages/php.md#apache--php
+
+sudo a2enmod rewrite actions fastcgi alias ssl
+
+# configure apache root dir
+sudo sed -i -e "s,/var/www,$(pwd),g" /etc/apache2/sites-available/default
+sudo service apache2 restart