Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-01-12
2000-01-12 05:47:19 by Martin Nilsson <mani@lysator.liu.se>
e3bda3940d6b8f6232b41ea760c37d249137db60 (
13
lines) (+
9
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed a config-cookie-url bug
Rev: server/protocols/http.pike:1.184
1:
-
// This is a roxen module.
+
// This is a roxen
protocol
module.
// Modified by Francesco Chemolli to add throttling capabilities.
-
// Copyright © 1996 -
1998
, Idonex AB.
+
// Copyright © 1996 -
2000
, Idonex AB.
-
constant cvs_version = "$Id: http.pike,v 1.
183
2000/01/
05
17
:
48
:
51
grubba
Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
184
2000/01/
12
05:
47
:
19
nilsson
Exp $";
#define MAGIC_ERROR
279:
{ string url, m; string base;
-
base = conf->query("MyWorldLocation")
||
"/";
+
if (conf)
+
base = conf->query("MyWorldLocation")
;
+
else
+
base =
"/";
+
if(supports->cookies) { REQUEST_WERR("Setting cookie..\n");