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.811 2002/10/27 17:35:27 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.812 2002/10/28 12:43:35 anders Exp $";      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN   #include <roxen.h>   #include <config.h>   #include <module.h>   #include <variables.h>
Roxen.git/server/base_server/roxen.pike:1080:   {    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(url, 0, 1 )) ) +  if( (c = q->port->find_configuration_for_url((string)url, 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);