diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:08:29 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:08:29 +0200 |
commit | 75160b12821f7f4299cce7f0b69c83c1502ae071 (patch) | |
tree | 27e25e4ccaef45f0c58b22831164050d1af1d4db /.htaccess.example | |
parent | prvi-commit (diff) | |
download | 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.gz 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.bz2 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.lz 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.xz 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.zst 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.zip |
Diffstat (limited to '.htaccess.example')
-rw-r--r-- | .htaccess.example | 7 |
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}
|