Removed 'Require all granted' even though we are using Ubuntu 16.04 and Apache 2.4 from Ubuntu. It seems that the 'patched' Apache 2.4 - Version: 2.4.18-2ubuntu3 as of now, is actually loading the Apache 2.2 access control module. Per Apache's documentation, this *should* be correct: https://httpd.apache.org/docs/current/upgrading.html -- however, in order to 'fix' it for MISP, we are inserting the 2.2 directive, and removing the 2.4 directive.

pull/4/head
Ventz Petkov 2018-01-11 23:58:10 -05:00
parent 670959dcaf
commit 9d6576f892
1 changed files with 0 additions and 1 deletions

View File

@ -96,7 +96,6 @@ RUN mkdir /var/www/.composer && chown -R www-data:www-data /var/www/.composer ;
echo "<Directory /var/www/MISP/app/webroot>" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "Options -Indexes" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "AllowOverride all" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "Require all granted" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "</Directory>" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "SSLEngine On" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "SSLCertificateFile /etc/ssl/private/misp.crt" >> /etc/apache2/sites-available/default-ssl.conf ; \