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]