diff vendor/instaclick/php-webdriver/test/CI/Travis/setup_apache.sh @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/instaclick/php-webdriver/test/CI/Travis/setup_apache.sh	Mon Apr 23 09:46:53 2018 +0100
@@ -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