view vendor/instaclick/php-webdriver/test/CI/Travis/setup_apache.sh @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 1fec387a4317
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