1
0
Fork 0
This repository has been archived on 2024-06-28. You can view files and clone it, but cannot push or open issues or pull requests.
Umweltdatenmessung/Webinterface/.htaccess
2014-05-15 16:27:19 +02:00

35 lines
764 B
ApacheConf

<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year”
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access 1 month”
# Javascript
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType text/csv "access plus 10 minutes”
ExpiresByType text/txt "accesss”
</IfModule>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin http://sandgrube.n-ip.org
Header set Access-Control-Allow-Credentials true
</IfModule>