Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id CAA26720; Sun, 5 Oct 1997 02:36:40 -0700 (PDT) Received: from paris.ics.uci.edu (mmdf@paris.ics.uci.edu [128.195.1.50]) by hyperreal.org (8.8.5/8.8.5) with SMTP id CAA26716 for ; Sun, 5 Oct 1997 02:36:38 -0700 (PDT) Received: from kiwi.ics.uci.edu by paris.ics.uci.edu id aa23261; 5 Oct 97 2:31 PDT To: new-httpd@apache.org Subject: Re: [PATCH] vhosts revamp In-reply-to: Your message of "Sun, 05 Oct 1997 02:05:44 PDT." Date: Sun, 05 Oct 1997 02:30:16 -0700 From: "Roy T. Fielding" Message-ID: <9710050231.aa23261@paris.ics.uci.edu> Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Status: O X-Status: +1 in principle, but I can't test vhost stuff. It sure would be nice to have it in one location. >+const char *set_name_virtual_host (cmd_parms *cmd, void *dummy, char *arg) >+{ >+ /* XXX: should probably be main_server->port ... but that's inaccessible >*/ >+ get_addresses(cmd->pool, arg, &name_vhost_list_tail, DEFAULT_PORT); >+ return NULL; >+} Isn't server_conf in http_main.c accessible? I'm not sure if it is set at this point in the config, though. ....Roy