view vendor/instaclick/php-webdriver/test/CI/Travis/setup_apache.sh @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
line wrap: on
line source
#!/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