--- loncom/lonhttpd 2007/04/11 19:52:44 1.12 +++ loncom/lonhttpd 2007/04/11 21:37:24 1.13 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: lonhttpd,v 1.12 2007/04/11 19:52:44 raeburn Exp $ +# $Id: lonhttpd,v 1.13 2007/04/11 21:37:24 raeburn Exp $ $VERSION = "1.3.2 (Demonic/Linux/LON-CAPA Derivative $Revison$)"; @@ -357,12 +357,9 @@ while () { $address=~s/\/+/\//g; if ($address=~/^\/(status|adm\/|res\/adm\/)/) { $fail = 0; - } elsif ($address =~ /^\/res\/([^\/]+)\/\1\-domainconfig\/(logo|domlogo|img)\/[^\/]+$/) { - if (&Apache::lonnet::domain($1) ne '') { - $fail = 0; - } + } elsif (&Apache::lonnet::is_domainimage($address)) { + $fail = 0; } - # # because existing restriction matrix would not do precedence across rules #