You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2002/11/29 00:41:54 UTC

Re: [users@httpd] Depreciation of BindAddress

> Can't you use:
> 
> Listen 192.168.0.4:80
> 

That is correct.  There is nothing that BindAddress can do that Listen 
can't.  And Listen can do more.  That is why BindAddress went away in 2.0.

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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Depreciation of BindAddress

Posted by Chris Taylor <ch...@x-bb.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/wipes sweat from brow

And I thought I was going to look silly again ;)

Chris Taylor - The guy with the PS2 WebServer
Email: chris@x-bb.org - PGP: http://www.x-bb.org/chris.asc

- ----- Original Message ----- 
From: "Joshua Slive" <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Thursday, November 28, 2002 11:41 PM
Subject: Re: [users@httpd] Depreciation of BindAddress


> > Can't you use:
> > 
> > Listen 192.168.0.4:80
> > 
> 
> That is correct.  There is nothing that BindAddress can do that
> Listen  can't.  And Listen can do more.  That is why BindAddress
> went away in 2.0.  
> 
> 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
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPea6bCqf8lmE2RZkEQKuvQCfTWTMnr/z1+BeiIEULrBQfh9zOGoAn0yP
RRThWiqOcTBOLQke/vQLTH4Y
=yfAs
-----END PGP SIGNATURE-----



---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] SSL, VirtualHosts and Layer 4 (was Re: [users@httpd] Depreciation of BindAddress)

Posted by Andrew <an...@ugh.net.au>.

On Thu, 28 Nov 2002, Joshua Slive wrote:

> OK.  But you obviously have a pretty complex case that would benefit from
> configuration management tools.

I'm managing with a few dodgy perl scripts at the moment but I may need to
resort to a proper tool at some point.

> You are the first person I have ever heard who misses BindAddress.
> Everyone else is glad to see it gone.

If listen didn't require a port (which wouldnt make much sense) I wouldn't
miss it either :-)


So that brings me to the question...how do other ppl deal with multiple
virtual SSL hosts behind a layer 4 switch? I'm guessing my one per port
isn't common? Or do they just produce their config files froma  central
repository?

Thanks,

Andrew


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Depreciation of BindAddress

Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 29 Nov 2002, Andrew wrote:
> Then each time I add a new port (such as each time an SSL host is
> provisioned) I have to edit the local config on many servers. With the 2
> split I just have to add a new line to the end of one file.

OK.  But you obviously have a pretty complex case that would benefit from
configuration management tools.

You are the first person I have ever heard who misses BindAddress.
Everyone else is glad to see it gone.

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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Depreciation of BindAddress

Posted by Andrew <an...@ugh.net.au>.

On Thu, 28 Nov 2002, Joshua Slive wrote:

> That's what I don't understand.  Assuming you have
>
> Local config:
> BindAddress 127.0.0.1
>
> Shared Config:
> Listen 80
> Listen 443

Yep thats pretty much it.

> Then you can simply replace that with
> Local config:
> Listen 127.0.0.1:80
> Listen 127.0.0.1:443

Then each time I add a new port (such as each time an SSL host is
provisioned) I have to edit the local config on many servers. With the 2
split I just have to add a new line to the end of one file.

Andrew


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Depreciation of BindAddress

Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 29 Nov 2002, Andrew wrote:
> On Thu, 28 Nov 2002, Joshua Slive wrote:
>
> > I've read your message a few times, and I can't figure out exactly your
> > use case.
>
> I have several servers each with their own config and each sharing some
> config. The config that is shared between the servers (which includes
> which ports to listen on) can't refer to a particular IP as each server
> has a different IP.

That's what I don't understand.  Assuming you have

Local config:
BindAddress 127.0.0.1

Shared Config:
Listen 80
Listen 443

Then you can simply replace that with
Local config:
Listen 127.0.0.1:80
Listen 127.0.0.1:443

Perhaps I'm missing something, but that seems to add very little
complexity.  In fact, it seems much clearer.

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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Depreciation of BindAddress

Posted by Andrew <an...@ugh.net.au>.

On Thu, 28 Nov 2002, Joshua Slive wrote:

> I've read your message a few times, and I can't figure out exactly your
> use case.

I have several servers each with their own config and each sharing some
config. The config that is shared between the servers (which includes
which ports to listen on) can't refer to a particular IP as each server
has a different IP.

>  But, in any case, httpd.conf is not a programming language, it
> is a configuration file.  It is not designed for arbitrarily-complex
> conditionals.  That is what a pre-processor is for.

True, but while it is sometimes necessary, loosing functionality
without resorting to extra scripts and preprocessing seems a shame (and in
this case I don't need conditionals).

Andrew


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Depreciation of BindAddress

Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 29 Nov 2002, Andrew wrote:
> On Thu, 28 Nov 2002, Joshua Slive wrote:
>
> > That is correct.  There is nothing that BindAddress can do that Listen
> > can't.  And Listen can do more.  That is why BindAddress went away in 2.0.
>
> How about specifying the IP to use while not decalring which ports until
> later?

I've read your message a few times, and I can't figure out exactly your
use case.  But, in any case, httpd.conf is not a programming language, it
is a configuration file.  It is not designed for arbitrarily-complex
conditionals.  That is what a pre-processor is for.

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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Depreciation of BindAddress

Posted by Andrew <an...@ugh.net.au>.

On Thu, 28 Nov 2002, Joshua Slive wrote:

> That is correct.  There is nothing that BindAddress can do that Listen
> can't.  And Listen can do more.  That is why BindAddress went away in 2.0.

How about specifying the IP to use while not decalring which ports until
later?

Andrew


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org