Enabled rewrite module for httpd in docker.

This commit is contained in:
msinkec 2020-07-08 14:55:35 +02:00
parent 4e27767ac1
commit e5166c03bf

View File

@ -3,5 +3,8 @@ FROM php:7.2-apache
# Use the default production configuration # Use the default production configuration
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
# Enable rewrite module for httpd.
RUN ln -s /etc/apache2/mods-enabled/rewrite.load /etc/apache2/mods-available/rewrite.load
COPY . /var/www/html COPY . /var/www/html