diff --git a/www/.htaccess b/www/.htaccess index 094dd6c..6c5dbf4 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -1,6 +1,20 @@ +AddType text/plain .md + RewriteEngine On RewriteBase / -RewriteCond %{REQUEST_URI} !^/?static/.* +RewriteCond %{REQUEST_URI} !^/?(static|raw)/.* RewriteRule (.*) router.php + +Allow from all + +Options +Indexes + + + Header set Cache-Control "max-age=315360, public" + + + + Header set Cache-Control "max-age=315360, public" + \ No newline at end of file diff --git a/www/static/.htaccess b/www/static/.htaccess index 5997760..1c117e2 100644 --- a/www/static/.htaccess +++ b/www/static/.htaccess @@ -1,5 +1,7 @@ Allow from all +Options +Indexes + Header set Cache-Control "max-age=315360, public"