Commit 1c5261a6 authored by Tobias Munk's avatar Tobias Munk

enabled mod_rewrite; added .htaccess

parent a473bb65
Pipeline #27518 passed with stages
in 45 seconds
FROM yiisoftware/yii2-php:7.2-apache
RUN a2enmod rewrite
WORKDIR /app
ADD composer.lock composer.json /app/
......
RewriteEngine on
# If a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward it to index.php
RewriteRule . index.php
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment