summaryrefslogtreecommitdiffstats
path: root/.htaccess.example
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess.example')
-rw-r--r--.htaccess.example7
1 files changed, 7 insertions, 0 deletions
diff --git a/.htaccess.example b/.htaccess.example
index ae480c5..3ca1af8 100644
--- a/.htaccess.example
+++ b/.htaccess.example
@@ -7,6 +7,13 @@ RewriteRule ^api/api.php\b(.*) frontend/api/api.php?%{QUERY_STRING}
################ END FRONTEND SIMPLE ################
+## Deny access to the .git directory
+RedirectMatch 404 /\.git
+
+## 404 page
+ErrorDocument 404 /404.html
+
+
## Rewriti za razne module, delovanje anket...
RewriteRule ^sa$ index_sa_anketa.php
RewriteRule ^koda/(.*) main/survey/sa_koda.php?%{QUERY_STRING}