Diff for /loncom/lonhttpd between versions 1.11 and 1.17

version 1.11, 2007/04/10 20:08:01 version 1.17, 2010/03/11 16:34:48
Line 87  Server: HTTPi/$VERSION Line 87  Server: HTTPi/$VERSION
 MIME-Version: 1.0  MIME-Version: 1.0
 EOF  EOF
   
 %virtual_files =  %virtual_files = ();
  (  
 "/adm/lonLCDfont/0.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/0.gif" ] ,  
 "/adm/lonLCDfont/1.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/1.gif" ] ,  
 "/adm/lonLCDfont/2.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/2.gif" ] ,  
 "/adm/lonLCDfont/3.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/3.gif" ] ,  
 "/adm/lonLCDfont/4.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/4.gif" ] ,  
 "/adm/lonLCDfont/5.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/5.gif" ] ,  
 "/adm/lonLCDfont/6.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/6.gif" ] ,  
 "/adm/lonLCDfont/7.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/7.gif" ] ,  
 "/adm/lonLCDfont/8.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/8.gif" ] ,  
 "/adm/lonLCDfont/9.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/9.gif" ] ,  
 "/adm/lonLCDfont/a.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/a.gif" ] ,  
 "/adm/lonLCDfont/b.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/b.gif" ] ,  
 "/adm/lonLCDfont/c.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/c.gif" ] ,  
 "/adm/lonLCDfont/d.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/d.gif" ] ,  
 "/adm/lonLCDfont/e.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/e.gif" ] ,  
 "/adm/lonLCDfont/f.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/f.gif" ] ,  
 "/adm/lonLCDfont/g.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/g.gif" ] ,  
 "/adm/lonLCDfont/h.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/h.gif" ] ,  
 "/adm/lonLCDfont/i.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/i.gif" ] ,  
 "/adm/lonLCDfont/j.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/j.gif" ] ,  
 "/adm/lonLCDfont/k.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/k.gif" ] ,  
 "/adm/lonLCDfont/l.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/l.gif" ] ,  
 "/adm/lonLCDfont/m.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/m.gif" ] ,  
 "/adm/lonLCDfont/n.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/n.gif" ] ,  
 "/adm/lonLCDfont/o.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/o.gif" ] ,  
 "/adm/lonLCDfont/p.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/p.gif" ] ,  
 "/adm/lonLCDfont/q.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/q.gif" ] ,  
 "/adm/lonLCDfont/r.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/r.gif" ] ,  
 "/adm/lonLCDfont/s.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/s.gif" ] ,  
 "/adm/lonLCDfont/t.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/t.gif" ] ,  
 "/adm/lonLCDfont/u.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/u.gif" ] ,  
 "/adm/lonLCDfont/v.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/v.gif" ] ,  
 "/adm/lonLCDfont/w.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/w.gif" ] ,  
 "/adm/lonLCDfont/x.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/x.gif" ] ,  
 "/adm/lonLCDfont/y.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/y.gif" ] ,  
 "/adm/lonLCDfont/z.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/z.gif" ] ,  
 "/adm/lonLCDfont/colon.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/colon.gif" ] ,  
 "/adm/lonLCDfont/slash.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/slash.gif" ] ,  
 "/adm/lonLCDfont/hyphen.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/hyphen.gif" ] ,  
 "/adm/lonLCDfont/space.gif" => [ "image/gif", "FILE",  
  "/home/httpd/html/adm/lonLCDfont/space.gif" ] ,  
  );  
   
 %content_types = (%system_content_types, %content_types);  %content_types = (%system_content_types, %content_types);
 undef %system_content_types;  undef %system_content_types;
Line 356  while (<STDIN>) { Line 274  while (<STDIN>) {
  $address=~s/\/+/\//g;   $address=~s/\/+/\//g;
         if ($address=~/^\/(status|adm\/|res\/adm\/)/) {          if ($address=~/^\/(status|adm\/|res\/adm\/)/) {
             $fail = 0;              $fail = 0;
         } elsif ($address =~ /^\/res\/([^\/]+)\/([^\/]+)\-domainconfig\/(logo|domlogo|img)\/[^\/]+$/) {          } elsif ($address =~ /^\/res\/([\w\.\-]+)\/\1\-domainconfig\/(logo|domlogo|img|login)\/[^\/]+$/) {
 #            FIXME - should check $1 is a real domain here - need a lightweight              $fail = 0;
 #                    domain checker.  
 #            @alldomains = &Apache::lonnet::get_domains();  
 #            if (grep(/^\Q$1\E$/,@alldomains)) {  
                 $fail = 0;  
 #            }  
         }          }
   
 #  #
 # because existing restriction matrix would not do precedence across rules  # because existing restriction matrix would not do precedence across rules
 #  #
Line 601  for (;;) { Line 513  for (;;) {
  waitpid($pid, 0);   waitpid($pid, 0);
  $0 = "lonhttpd: (dhttpi) on ANY:$port_to_use, last request " .   $0 = "lonhttpd: (dhttpi) on ANY:$port_to_use, last request " .
  scalar localtime;   scalar localtime;
    close(NS);
  } else {   } else {
  $0 = "lonhttpd: (dhttpi) child switching to socket";   $0 = "lonhttpd: (dhttpi) child switching to socket";
  open(STDIN, "<&NS");   open(STDIN, "<&NS");

Removed from v.1.11  
changed lines
  Added in v.1.17


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>