summaryrefslogtreecommitdiffstats
path: root/utils/redirector.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'utils/redirector.pl.in')
-rwxr-xr-xutils/redirector.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/redirector.pl.in b/utils/redirector.pl.in
index 04fefb59a..0fc79beea 100755
--- a/utils/redirector.pl.in
+++ b/utils/redirector.pl.in
@@ -381,7 +381,7 @@ sub process_input {
if ((defined($cfg{check_regexp}) && $request->uri !~ $cfg{check_regexp}) ||
(defined($cfg{check_domains}) && scalar(grep {$_ eq $domain} @{$cfg{check_domains}}) == 0)) {
- write_log ($heap->{remote_ip}, "Uri is not checked: " . $request->uri);
+ write_log ($heap->{remote_ip}, "Uri is not checked: " . $request->uri) if $cfg{debug};
my $new_response = HTTP::Response->new(200);
$new_response->header("Uri", $request->uri);
$new_response->header("Connection", "close");