Mini Shell
Options -Indexes
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
<Files ~ "\.(db|html?|sql)$">
Deny from all
</Files>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType font/woff "access plus 1 month"
ExpiresByType image/avif "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/webp "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/webm "access plus 1 month"
ExpiresDefault "access plus 2 hours"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase [[relativeurl]]/
RewriteRule ^sitemap\.xml$ sitemap.php [L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(favicon\.ico|robots\.txt|sitemap\.php|sitemap\.xml)
RewriteRule (.*) index.php?q=$1 [QSA,L]
</IfModule>
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>
Zerion Mini Shell 1.0