Update workflow setup apache

pull/3768/head
Julio Montoya 5 years ago
parent 68962b3d42
commit 96e56f863d
  1. 5
      .github/workflows/php.yml
  2. 14
      tests/travis/gh-apache

@ -140,6 +140,11 @@ jobs:
run: |
sudo apt install apache2
sudo a2enmod rewrite actions
sudo cp -f tests/gh/apache /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
sudo systemctl restart apache2

@ -0,0 +1,14 @@
<VirtualHost *:80>
DocumentRoot /home/runner/work/chamilo-lms/chamilo-lms/public
ServerName localhost
<Directory "/home/runner/work/chamilo-lms/chamilo-lms/public">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /usr/lib/cgi-bin>
Require all granted
</Directory>
</VirtualHost>
Loading…
Cancel
Save