friendica_2021.01_tupambae_.../view/.htaccess

25 lines
717 B
ApacheConf
Raw Normal View History

<FilesMatch "\.tpl">
2018-03-07 14:07:59 +01:00
<IfModule authz_host_module>
#Apache 2.4
Require all denied
</IfModule>
<IfModule !authz_host_module>
#Apache 2.2
Deny from all
</IfModule>
</FilesMatch>
2018-03-07 14:07:59 +01:00
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\.(gif|jpe?g|png|js|css)$">
Header set Cache-Control "public"
</FilesMatch>
</IfModule>