2016-08-31 11:53:46 +00:00
|
|
|
# Alias /hedera-web /usr/share/hedera-web/
|
2016-09-26 09:28:47 +00:00
|
|
|
# Alias /image-db /var/lib/hedera-web/image-db/
|
2015-01-23 13:09:30 +00:00
|
|
|
|
2018-02-05 12:58:17 +00:00
|
|
|
<IfModule mod_mime.c>
|
|
|
|
AddType text/x-yaml .yml
|
|
|
|
</IfModule>
|
|
|
|
|
2016-08-31 11:53:46 +00:00
|
|
|
<Directory /usr/share/hedera-web/>
|
2015-02-08 15:38:38 +00:00
|
|
|
Options -Indexes -FollowSymLinks
|
2015-01-23 13:09:30 +00:00
|
|
|
AllowOverride None
|
2017-12-11 11:46:36 +00:00
|
|
|
Require all granted
|
|
|
|
|
2018-02-05 12:58:17 +00:00
|
|
|
<FilesMatch "\.(css|js|json|yml|php|xml|html|svg)$">
|
2015-01-23 13:09:30 +00:00
|
|
|
SetOutputFilter DEFLATE
|
|
|
|
</FilesMatch>
|
2017-12-11 11:46:36 +00:00
|
|
|
|
2015-01-23 13:09:30 +00:00
|
|
|
<FilesMatch "\.(ttf|otf|eot|woff)$">
|
|
|
|
<IfModule mod_headers.c>
|
2018-05-04 20:46:09 +00:00
|
|
|
Header set Access-Control-Allow-Origin "*"
|
2015-01-23 13:09:30 +00:00
|
|
|
</IfModule>
|
|
|
|
</FilesMatch>
|
|
|
|
</Directory>
|
2015-06-30 12:06:19 +00:00
|
|
|
|
2016-09-20 18:36:22 +00:00
|
|
|
<Directory /var/lib/hedera-web/image-db/>
|
2018-05-04 20:46:09 +00:00
|
|
|
Options +Indexes +FollowSymLinks
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
<Directory /var/lib/hedera-web/image-db/*/*>
|
|
|
|
Options -Indexes -MultiViews +FollowSymLinks
|
2016-07-22 20:00:27 +00:00
|
|
|
AllowOverride FileInfo Options
|
|
|
|
Require all granted
|
2018-05-04 20:46:09 +00:00
|
|
|
|
|
|
|
<IfModule mod_headers.c>
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteBase /
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteCond %{REQUEST_FILENAME}\.png -f
|
|
|
|
RewriteRule ^(.+)$ %{REQUEST_URI}.png [L]
|
|
|
|
</IfModule>
|
2016-07-22 20:00:27 +00:00
|
|
|
</Directory>
|