From 8b6b8001de2f12b9667b09e1b56f75f80d9c84d2 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Wed, 15 Jan 2020 11:37:42 +0100 Subject: [PATCH] Apache config fixes --- Dockerfile | 2 ++ apache.conf | 10 ++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27367ed..938c590 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,3 +7,5 @@ COPY \ autodiscover.xml \ index.php \ ./ + +RUN a2enmod rewrite diff --git a/apache.conf b/apache.conf index abf06d7..0a8ab14 100644 --- a/apache.conf +++ b/apache.conf @@ -5,10 +5,8 @@ AllowOverride None Require all granted - - Options -MultiViews - RewriteEngine On - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^ /index.php [QSA,L] - + Options -MultiViews + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ /index.php [QSA,L]