2020-11-05 15:18:20 +01:00
|
|
|
Options -Indexes
|
|
|
|
|
|
|
|
<ifModule mod_rewrite.c>
|
2020-10-08 17:00:12 +02:00
|
|
|
RewriteEngine On
|
|
|
|
RewriteCond $1 !^(css)
|
|
|
|
RewriteRule ^([^/]*)/([^/]*)$ /?dir=$1&file=$2 [L]
|
2020-11-05 15:18:20 +01:00
|
|
|
AddType text/css .css
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfModule mod_headers.c>
|
|
|
|
Header always set X-FRAME-OPTIONS "DENY"
|
|
|
|
Header set Content-Security-Policy "script-src 'self'"
|
2020-11-05 15:49:20 +01:00
|
|
|
Header set Content-Security-Policy "base-uri 'self';"
|
2020-11-05 15:18:20 +01:00
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfModule mod_expires.c>
|
|
|
|
ExpiresActive On
|
|
|
|
ExpiresDefault "access plus 1 day"
|
|
|
|
</IfModule>
|