0
1
Fork 0

refs #4922 Set apache rewrite config

This commit is contained in:
Juan Ferrer 2024-11-25 18:02:26 +01:00
parent 65b9d3d139
commit d6a8fa03dc
1 changed files with 5 additions and 2 deletions

View File

@ -17,11 +17,14 @@
AllowOverride None
Require all granted
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
RewriteEngine On
RewriteRule ^/?$ index.php [L]
<FilesMatch "\.(css|js|json|yml|php|xml|html|svg)$">
SetOutputFilter DEFLATE
</FilesMatch>
<FilesMatch "\.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"