1
0
Fork 0
mirror of https://github.com/Findus23/Maturaball.git synced 2024-08-27 19:52:14 +02:00
Maturaball/.htaccess
2014-06-18 20:54:32 +02:00

22 lines
621 B
ApacheConf

ErrorDocument 403 /maturaball/403.html
ErrorDocument 404 /maturaball/404.html
ErrorDocument 500 /maturaball/500.html
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 hour"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/jpg "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
# CSS
ExpiresByType text/css "access plus 1 day"
# Javascript
ExpiresByType application/javascript "access plus 1 day"
</IfModule>