X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=.htaccess;h=155969dbf707ae0f821b189dcb01937bbdb64173;hb=93174437135b776364c9f2f8440f5a879588d9e1;hp=977b220d9ce9316884f3e92e209b654c17f107b8;hpb=161082b04bdd3320fe94ff448e80a0b4d19bc29b;p=kivitendo-erp.git diff --git a/.htaccess b/.htaccess index 977b220d9..155969dbf 100644 --- a/.htaccess +++ b/.htaccess @@ -1,19 +1,16 @@ -### Choose a character set (just in case you like to change it here) -### uncomment 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 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" -### examples for Apache <= 2.2: "Allow from 192.168" or "Allow from 192.168.1" or "Allow from 192.168.178" or "Allow from 217.84.201.2" # # # Apache 2.4 # Require ip 192.168 # -# -# # Apache 2.2 -# Order deny,allow -# Deny from all -# Allow from 192.168 -# + + + RewriteEngine On + RewriteRule .*(\.git|config).*$ - [F,NC] + +