refs #4922 Set apache rewrite config
This commit is contained in:
parent
65b9d3d139
commit
d6a8fa03dc
|
@ -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 "*"
|
||||
|
|
Loading…
Reference in New Issue