--- loncom/lonhttpd 2007/07/11 18:48:20 1.15 +++ loncom/lonhttpd 2008/05/01 14:36:03 1.16 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: lonhttpd,v 1.15 2007/07/11 18:48:20 albertel Exp $ +# $Id: lonhttpd,v 1.16 2008/05/01 14:36:03 raeburn Exp $ $VERSION = "1.3.2 (Demonic/Linux/LON-CAPA Derivative $Revison$)"; @@ -356,7 +356,7 @@ while () { $address=~s/\/+/\//g; if ($address=~/^\/(status|adm\/|res\/adm\/)/) { $fail = 0; - } elsif ($address =~ /^\/res\/([\w\.\-]+)\/\1\-domainconfig\/(logo|domlogo|img)\/[^\/]+$/) { + } elsif ($address =~ /^\/res\/([\w\.\-]+)\/\1\-domainconfig\/(logo|domlogo|img|login)\/[^\/]+$/) { $fail = 0; } #