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 - 2004, 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.1016 2009/01/11 16:02:32 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1017 2009/01/11 16:02:53 mast 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:2622:      void sort_urls()   {    sorted_urls = indices( urls );    sort( map( map( sorted_urls, strlen ), `-), sorted_urls );   }      int register_url( string url, Configuration conf )   {    string ourl = url; -  url = lower_case( url ); +     if (!sizeof (url - " " - "\t")) return 1;    string protocol;    string host;    int port;    string path;       Standards.URI ui = Standards.URI(url);    mapping opts = ([]);    string a, b;    foreach( (ui->fragment||"")/";", string x )