Apache config fixes
gitea/vn-autoconfig/master This commit looks good
Details
gitea/vn-autoconfig/master This commit looks good
Details
This commit is contained in:
parent
42ead31fd5
commit
8b6b8001de
|
@ -7,3 +7,5 @@ COPY \
|
||||||
autodiscover.xml \
|
autodiscover.xml \
|
||||||
index.php \
|
index.php \
|
||||||
./
|
./
|
||||||
|
|
||||||
|
RUN a2enmod rewrite
|
||||||
|
|
10
apache.conf
10
apache.conf
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue