The following reply was made to PR general/1563; it has been noted by GNATS.
From: Dean Gaudet <[EMAIL PROTECTED]> To: Alexandre Snarskii <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: general/1563: forgotten port of request. Date: Tue, 16 Dec 1997 14:44:45 -0800 (PST) On 16 Dec 1997, Alexandre Snarskii wrote: > May be we are differs with the meaning of 'support', but, as for > me, some Listen directives and using <VirtualHost hostname:*> > means that: apache supports 'main' servername:(some ports, on which > the connections are accepted) and some 'virtual' servers, each > configured with only one <VirtualHost hostname:*> directive means, > that apache supports servers with multiple ports on each hostname. > In all cases, but that :) Listen just means "accept connections at this address:port". The Port directive in the main server is overloaded to support NCSA files (this is documented in the port directive). Port and ServerName together define the canonical name for the main server or vhost. And as I mentioned... apache only supports one canonical name... it wouldn't be "canonical" otherwise ;) It could do other things, it just doesn't for historical reasons. > > <VirtualHost *:8010> > > Port 8010 > > </VirtualHost> > > > > is probably what you want. > > Well, now my httpd.conf looks like (the final part of, > all the Listen directives are commented out) : > > <VirtualHost *:8110> > ServerName localhost > Port 8110 > </VirtualHost> > /usr/local/etc/httpd/conf/httpd.conf: 281 lines, 9425 characters. > bash# killall httpd > bash# /usr/local/etc/httpd/httpd > bash# > > but i can't see any listener of that port... You need to use Listen as well. Dean
