hedera-web/conf/apache.conf

35 lines
655 B
ApacheConf
Raw Normal View History

2016-08-31 11:53:46 +00:00
# Alias /hedera-web /usr/share/hedera-web/
2016-09-20 18:36:22 +00:00
# Alias /vn-image-data /var/lib/hedera-web/image-db/
2016-08-31 11:53:46 +00:00
<Directory /usr/share/hedera-web/>
2015-02-08 15:38:38 +00:00
Options -Indexes -FollowSymLinks
AllowOverride None
2015-02-08 15:38:38 +00:00
Order Allow,Deny
Allow From All
2015-02-08 15:38:38 +00:00
2015-03-06 23:33:54 +00:00
<FilesMatch "\.(css|js|json|php|xml|html)$">
SetOutputFilter DEFLATE
</FilesMatch>
2015-02-08 15:38:38 +00:00
<FilesMatch "\.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
2015-02-08 15:38:38 +00:00
</Directory>
2016-09-20 18:36:22 +00:00
<Directory /var/lib/hedera-web/image-db/>
2016-07-22 20:00:27 +00:00
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo Options
Order Allow,Deny
Allow From All
Require all granted
</Directory>