Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/tests/travis/setup-apache.sh

13 lines
367 B

#!/bin/bash
echo "* Preparing Apache ...";
sudo a2enmod rewrite actions fastcgi alias
# Use default config
sudo cp -f tests/travis/travis-apache /etc/apache2/sites-available/000-default.conf
sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/000-default.conf
sudo chmod 777 -R $HOME
# Starting Apache
sudo service apache2 restart