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