From a8ed9070e7773f3147a33dbee7d45ce24bd8959d Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 21 Jan 2019 14:30:08 +0100 Subject: security htaccess, render class of link --- .htaccess | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index 7ded04e..270be92 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,7 @@ RewriteEngine on +# everything that does not contain asssets|media|fonts +RewriteCond %{REQUEST_URI} !^(.*)/(assets|media|fonts)/ [OR] +# or that isn't a file RewriteCond %{REQUEST_FILENAME} !-f +# is redirect to index RewriteRule . index.php [L] \ No newline at end of file -- cgit v1.2.3