diff --git a/.htaccess b/.htaccess deleted file mode 100644 index aed7638..0000000 --- a/.htaccess +++ /dev/null @@ -1,2 +0,0 @@ -Options -Indexes -ServerSignature Off \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index b46b6e2..6d25400 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,5 +7,6 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* COPY . /var/www/html RUN rm -f /var/www/html/index.html +RUN sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf EXPOSE 80 CMD ["apache2ctl", "-D", "FOREGROUND"] \ No newline at end of file