forked from verdnatura/hedera-web
refs #4922 Set apache rewrite config
This commit is contained in:
parent
65b9d3d139
commit
d6a8fa03dc
|
@ -17,11 +17,14 @@
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Require all granted
|
Require all granted
|
||||||
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
|
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
|
||||||
|
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteRule ^/?$ index.php [L]
|
||||||
|
|
||||||
<FilesMatch "\.(css|js|json|yml|php|xml|html|svg)$">
|
<FilesMatch "\.(css|js|json|yml|php|xml|html|svg)$">
|
||||||
SetOutputFilter DEFLATE
|
SetOutputFilter DEFLATE
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
<FilesMatch "\.(ttf|otf|eot|woff)$">
|
<FilesMatch "\.(ttf|otf|eot|woff)$">
|
||||||
<IfModule mod_headers.c>
|
<IfModule mod_headers.c>
|
||||||
Header set Access-Control-Allow-Origin "*"
|
Header set Access-Control-Allow-Origin "*"
|
||||||
|
|
Loading…
Reference in New Issue