X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=.htaccess;h=155969dbf707ae0f821b189dcb01937bbdb64173;hb=0d07a683b433c3fd01b1aa94a5860c1053b0e626;hp=977b220d9ce9316884f3e92e209b654c17f107b8;hpb=684a3ad31409ad955d64cb3d6e3b6d4236ab68bf;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] + +