access.format = %R – %u %t \”%m %r%Q%q\” %s %f %{mili}d %{kilo}M %C%%”
17/May/2015:09:41:04 +0000 "GET /wp-admin/install.php" 200 /var/www/wp-admin/install.php 218.177 2816 87.09%
@charset "UTF-8";
### case sensitive http user agent blocking ###
if ($http_user_agent ~ (Catall Spider|AcoiRobot) ) {
return 403;
}
### case insensitive http user agent blocking ###
if ($http_user_agent ~* (foo|bar) ) {
return 403;
}
map $http_via $is_not_ok {
default "0";
"~*squid" "1";
}
if ($is_not_ok) {
return 405;
}