Enabled rewrite module for httpd in docker.
This commit is contained in:
parent
4e27767ac1
commit
e5166c03bf
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user