X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=.htaccess;h=106aeb458cc53a6083d8b7bcafbfcbf71d844183;hb=2d0387d1624b5b7ed6b13b79b9d5a87ce9b6d12b;hp=66862278afaaa15da5adf6a7157197885ef8542a;hpb=53e76581596fc6d2caffd950feff42117d1abf96;p=kivitendo-erp.git
diff --git a/.htaccess b/.htaccess
index 66862278a..106aeb458 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,11 +1,16 @@
-### Choose a character set (just in case you like to change it here)
-### uncommit the line you wish to activate
-#AddDefaultCharset ISO-8859-15
+# Should always be the default
#AddDefaultCharset UTF-8
### simple access control by client ip
-### uncomment the lines starting with Order ..., Deny ... and Allow ...
-### examples: "Allow from 192.168" or "Allow from 192.168.1" or "Allow from 192.168.178" or "Allow from 217.84.201.2"
-#Order deny,allow
-#Deny from all
-#Allow from 192.168
+### uncomment the lines starting with until last
+### examples for Apache >= 2.4: "Require ip 192.168" or "Require ip 192.168.1" or "Require ip 192.168.178" or "Require ip 217.84.201.2"
+#
+# # Apache 2.4
+# Require ip 192.168
+#
+
+
+ RewriteEngine On
+ RewriteRule .*/(\.git|config)/.*$ - [F,NC]
+
+