And you'll probably need to explicitly list a Port 80 or Port 8000
statement in each virtualhost.

Dean

On Wed, 16 Apr 1997, Marc Slemko wrote:

> You have to specify the IP address in the Listen directive otherwise it
> will listen on all IPs on that port and use the main server for any ones
> it doesn't have specific virtual hosts for.
> 
> On Wed, 16 Apr 1997, Andreas Papst wrote:
> 
> > 
> >     The contract type is `' with a response time of 3 business hours.
> >     A first analysis should be sent before: Wed Apr 16 14:00:01 PDT 1997
> > 
> > 
> > >Number:         405
> > >Category:       config
> > >Synopsis:       <VirtualHost> ports
> > >Confidential:   no
> > >Severity:       critical
> > >Priority:       medium
> > >Responsible:    apache (Apache HTTP Project)
> > >State:          open
> > >Class:          sw-bug
> > >Submitter-Id:   apache
> > >Arrival-Date:   Wed Apr 16 10:40:01 1997
> > >Originator:     [EMAIL PROTECTED]
> > >Organization:
> > apache
> > >Release:        1.2b7
> > >Environment:
> > AIX 4.2
> > gcc 2.7.2.1
> > >Description:
> > Like number 68
> > 
> > I want to set up a single daemon for multiple addresses listening
> > to diffent ports too. One virtual server should listen to 1.2.3.4
> > the other to 1.2.3.5:8000 (Port 8000 only). So I included following
> > directives:
> > 
> > Listen 80
> > Listen 8000
> > .
> > .
> > .
> > <VirtualHost 1.2.3.4>
> > .
> > .
> > .
> > </VirtualHost>
> > 
> > <VirtualHost 1.2.3.5:8000>
> > .
> > . (different DocumentRoot and Alias-commands)
> > .
> > </VirtualHost>
> > 
> > However, Apache listen to 1.2.3.5:80 too (does not refuse a telnet
> > connection to 1.2.3.5:80) and returns by request (http://1.2.3.5:80/)
> > the html-page from http://1.2.3.5:8000/ but should not! It seems
> > that the port-part auf the VirtualHost-definition does not work.
> > 
> > So I cannot follow your reply to #68 that all works fine.
> > >How-To-Repeat:
> > 
> > >Fix:
> > 
> > >Audit-Trail:
> > >Unformatted:
> > 
> > 
> 
> 

Reply via email to