On Tue, 2004-02-17 at 12:27 -0800, Stas Bekman wrote: > Philippe M. Chiasson wrote: > > On Fri, 2004-02-13 at 15:51 -0800, Stas Bekman wrote: > > > >>Philippe M. Chiasson wrote: > >> > >>>On Thu, 2004-02-12 at 10:24 -0800, Stas Bekman wrote: > >>>[...] > > [...] > > > > Ideally, to fix this once and for all, we need to determine 2 things: > > > > 1. The availability of IPv6 on that box > > 2. Wether httpd was compiled with --enable-v4-mapped or not (or what it > > defaulted to) > > Well, if we can figure out (2), then 1 can be skipped. If someone built Apache > with v6, it certainly won't work on a system w/o ipv6 enabled. No? > > On my machine: > % httpd -V | grep -i ipv > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > > what's yours (with ipv6?)
OpenBSD 3.4, with no special ./configure options: -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) So what this actually means is that unless explicitily stated, a : Listen 80 in your httpd.conf will _only_ bind on ::1, and not bind to an ipv4 address. Specifying Listen 127.0.0.1:80 will _only_ bind on the ipv4 localhost address... And if you ./configure --enable-v4-mapped Listen 80 Will get you an IPv6 listening socket on ::1 that's _also_ listening on the ipv4 equivalent of 127.0.0.1 > > And once we can figure that out, then can we make a correct decision as > > to what to bind to. > > > > But, AFAIK, 127.0.0.1 (or ::1) _must_ be the a loopback address, isn't > > it ? > > It usually is. But I think you can change it. Otherwise you won't need to list > it in /etc/hosts if it was hardcoded to 127.0.0.1 in all software products. > But I could be wrong. > > __________________________________________________________________ > Stas Bekman JAm_pH ------> Just Another mod_perl Hacker > http://stason.org/ mod_perl Guide ---> http://perl.apache.org > mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com > http://modperlbook.org http://apache.org http://ticketmaster.com
signature.asc
Description: This is a digitally signed message part