Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.835 2003/06/11 13:11:19 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.836 2003/08/29 12:32:52 wellhard Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:1119:   {    Configuration c;    string url_with_port = sprintf("%s://%s:%d%s", url->scheme, url->host,    url->port,    (sizeof(url->path)?url->path:"/"));    foreach( indices(urls), string u )    {    mixed q = urls[u];    if( glob( u+"*", url_with_port ) )    { -  if( (c = q->port->find_configuration_for_url((string)url, 0, 1 )) ) +  if( (c = q->port->find_configuration_for_url((string)url_with_port, 0, 1 )) )    {    if (search(u, "*") != -1 ||    search(u, "?") != -1)    {    // Something like "http://*:80/"       // Base url    if (url_base)    {    Standards.URI base = Standards.URI(url_base);