From 75160b12821f7f4299cce7f0b69c83c1502ae071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:08:29 +0200 Subject: 2024-02-19 upstream --- .htaccess.example | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.htaccess.example') 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} -- cgit v1.2.3