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

15 lines
415 B

#!/bin/bash
echo "* Start setup-apache.sh ...";
sudo a2enmod rewrite actions 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
cat /etc/apache2/sites-available/000-default.conf
# Starting Apache
sudo service apache2 restart