Branch: Tag:

2001-10-05

2001-10-05 15:08:03 by Per Hedbor <ph@opera.com>

A fix for [Bug 2336 (#2336)], you can now explicitly specify the IP# to use for each port

Rev: server/base_server/configuration.pike:1.490
Rev: server/base_server/module.pike:1.130
Rev: server/base_server/roxen.pike:1.748
Rev: server/config_interface/sites/drop_site.pike:1.18
Rev: server/config_interface/sites/site_content.pike:1.129
Rev: server/etc/modules/Roxen.pmod:1.127
Rev: server/etc/modules/Variable.pmod/module.pmod:1.69
Rev: server/etc/test/tests/ftp/RoxenTest_ftp.pike:1.2
Rev: server/etc/test/tests/pike_async_process_test_common.pike:1.5

1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS. - // $Id: module.pike,v 1.129 2001/08/28 15:47:59 per Exp $ + // $Id: module.pike,v 1.130 2001/10/05 15:08:00 per Exp $      #include <module_constants.h>   #include <module.h>
243:    sscanf (world_url, "%*s://%s%*[:/]", hostname);    if (!hostname) hostname = gethostname();    for (int i = 0; i < sizeof (urls); i++) +  { +  urls[i] = (urls[i]/"#")[0];    if (sizeof (urls[i]/"*") == 2)    urls[i] = replace(urls[i], "*", hostname); -  +  }    return map (urls, `+, loc[1..]);   }