aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-01-21 14:30:08 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-01-21 14:30:08 +0100
commita8ed9070e7773f3147a33dbee7d45ce24bd8959d (patch)
tree150fe13b57f7c20aa84b03bc41a1ca0aa9e7cfaf /.htaccess
parent12c692b0aa0650ae3f05fc29bc5fa8b310d0dea0 (diff)
downloadwcms-a8ed9070e7773f3147a33dbee7d45ce24bd8959d.tar.gz
wcms-a8ed9070e7773f3147a33dbee7d45ce24bd8959d.zip
security htaccess, render class of link
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 4 insertions, 0 deletions
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