From c9b0f5fa4dfbd31cc0b204da2c6ee6d1212e59f8 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sat, 25 Jan 2020 11:27:28 +0100 Subject: [PATCH] enable mod rewrite --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b4288b7..d44df2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM debian:buster MAINTAINER Christopher RUN apt-get update && apt-get install -y --fix-missing apache2 php php-cli php-ldap php-mysql php-imap php-xml php-mbstring php-intl php-apcu php-gd && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* +RUN a2enmod rewrite RUN rm -r -f /var/www/html/* RUN chown -R www-data:www-data /var/www/html