Roxen.git
/
server
/
base_server
/
module.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/module.pike:1:
// This file is part of Roxen WebServer. // Copyright © 1996 - 2009, Roxen IS.
-
//
$Id: module.pike,v 1.247 2012/09/24 16:06:41 grubba Exp $
+
//
$Id$
#include <module_constants.h> #include <module.h> #include <request_trace.h> constant __pragma_save_parent__ = 1; // Tell Pike.count_memory this is global. constant pike_cycle_depth = 0;
Roxen.git/server/base_server/module.pike:368:
if(has_value(uri->host, "*") || has_value(uri->host, "?")) if(glob(uri->host, hostname)) uri->host = hostname; else { if(!candidate_uri) { candidate_uri = uri; candidate_uri->host = hostname; } continue; }
-
return (string)
uri + loc[1..];
+
uri
->path
+
=
loc[1..];
+
return (string)uri;
} if(candidate_uri) { report_warning("Warning: Could not find any suitable ports, continuing anyway. " "Please make sure that your Primary Server URL matches " "at least one port. Primary Server URL: %O, URLs: %s.\n", world_url, short_array(urls));
-
return (string)
candidate_uri + loc[1..];
+
candidate_uri
->path
+
=
loc[1..];
+
return (string)candidate_uri;
} return 0; } /* By default, provide nothing. */ multiset(string) query_provides() { return 0; } function(RequestID:int|mapping) query_seclevels() {