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.831 2003/04/14 16:29:59 wellhard Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.832 2003/04/14 16:40:42 grubba 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:1404:   #endif       Configuration find_configuration_for_url( string url, RequestID id,    int|void no_default )    //! Given a url and requestid, try to locate a suitable configuration    //! (virtual site) for the request.    //! This interface is not at all set in stone, and might change at    //! any time.    {    Configuration c; -  if( sizeof( urls ) == 1 ) +  if( sizeof( urls ) == 1 && !no_default)    {    if(!mu) mu=urls[sorted_urls[0]];    INIT( mu );    URL2CONF_MSG ("%O %O cached: %O\n", this_object(), url, c);    return c;    } else if (!sizeof(sorted_urls)) {    URL2CONF_MSG("%O %O No active URLS!\n", this_object(), url);    return 0;    }