Apache config fixes
gitea/vn-autoconfig/master This commit looks good Details

This commit is contained in:
Juan Ferrer 2020-01-15 11:37:42 +01:00
parent 42ead31fd5
commit 8b6b8001de
2 changed files with 6 additions and 6 deletions

View File

@ -7,3 +7,5 @@ COPY \
autodiscover.xml \ autodiscover.xml \
index.php \ index.php \
./ ./
RUN a2enmod rewrite

View File

@ -5,10 +5,8 @@
AllowOverride None AllowOverride None
Require all granted Require all granted
<IfModule mod_rewrite.c>
Options -MultiViews Options -MultiViews
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ /index.php [QSA,L] RewriteRule ^ /index.php [QSA,L]
</IfModule>
</Directory> </Directory>