You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
445 B

Options -Indexes
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteCond $1 !^(css)
RewriteRule ^([^/]*)/([^/]*)$ /?dir=$1&file=$2 [L]
AddType text/css .css
<IfModule mod_headers.c>
Header always set X-FRAME-OPTIONS "DENY"
Header set Content-Security-Policy "script-src 'self'"
Header set Content-Security-Policy "base-uri 'self';"
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 day"