You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pravinkumar_Shivakumar <Pr...@Satyam.com> on 2002/03/12 17:14:30 UTC

BindAddress vs Listen...

Hi all,

1. If I have both BindAddress and Listen Directive on my httpd.conf, which
would take effect? Does one override the other?
2. If I have a Listen directive like "Listen 8000", do i need to specify the
port in the Virtual Host directive like "<VirtualHost x.x.x.x:8000>" ?


Thanking you all in advance,
Pravin Kumar S

************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: BindAddress vs Listen...

Posted by Joshua Slive <jo...@slive.ca>.
> From: Pravinkumar_Shivakumar [mailto:Pravinkumar_Shivakumar@Satyam.com]


> 1. If I have both BindAddress and Listen Directive on my httpd.conf, which
> would take effect? Does one override the other?

Who knows... But why would you want to do that?  Don't use BindAddress, it
is deprecated.  Use Listen, which can do all the same things and more.

> 2. If I have a Listen directive like "Listen 8000", do i need to
> specify the
> port in the Virtual Host directive like "<VirtualHost x.x.x.x:8000>" ?
>

This is answered at
http://httpd.apache.org/docs/mod/core.html#virtualhost

The most recent Port directive determines the port for the VirtualHost.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org