version 1.17, 2009/09/25 13:51:45
|
version 1.22, 2013/12/13 01:34:38
|
Line 44 sub handler {
|
Line 44 sub handler {
|
my $requrl=$r->uri; |
my $requrl=$r->uri; |
|
|
if (&Apache::lonnet::is_domainimage($requrl)) { |
if (&Apache::lonnet::is_domainimage($requrl)) { |
|
if (($r->user() eq '') && ($Apache::lonnet::apache >= 2.4)) { |
|
$r->user('public'); |
|
} |
return OK; |
return OK; |
} |
} |
|
|
if ($requrl =~ m{^/res/adm/pages/[^/]+\.(gif|png)$}) { |
if ($requrl =~ m{^/res/adm/pages/[^/]+\.(gif|png)$}) { |
|
if (($r->user() eq '') && ($Apache::lonnet::apache >= 2.4)) { |
|
$r->user('public'); |
|
} |
return OK; |
return OK; |
} |
} |
|
|
Line 81 sub handler {
|
Line 87 sub handler {
|
} elsif ($requrl eq '/adm/blockedaccess') { |
} elsif ($requrl eq '/adm/blockedaccess') { |
&process_public($r,$requrl); |
&process_public($r,$requrl); |
return OK; |
return OK; |
} |
} |
return DECLINED; |
return DECLINED; |
} |
} |
|
|