You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Nick Kew <ni...@webthing.com> on 2008/06/11 23:33:47 UTC
in test framework
Line 367 in t/conf/httpd.conf reads:
<VirtualHost _default_:8530>
This causes a failure on Solaris, with
Could not resolve address '255.255.255.255' -- check resolver
configuration.
The same thing happens in various other places in the test
suite's config.
Is _default_ supposed to do anything meaningful?
Trying with localhost instead, I just got
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/security/CVE-2004-0959.t 2 512 ?? ?? % ??
t/security/CVE-2008-2364.t 3 1 33.33% 3
Investigating those.
--
Nick Kew
Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/
Re: in test framework
Posted by Jorge Schrauwen <jo...@gmail.com>.
To my knowledge default is a catch all kind of thing when done non
namedhosting.
vhost _default_:80
vhost localhost:80
vhost apache.org:80
if the server gets a host header of example.com it goes to _default_...
alteast that is how I understood it... not sure if thats documented
somewhere though. I got that from trial and error
~Jorge
On Wed, Jun 11, 2008 at 11:33 PM, Nick Kew <ni...@webthing.com> wrote:
> Line 367 in t/conf/httpd.conf reads:
>
> <VirtualHost _default_:8530>
>
> This causes a failure on Solaris, with
> Could not resolve address '255.255.255.255' -- check resolver
> configuration.
> The same thing happens in various other places in the test
> suite's config.
>
> Is _default_ supposed to do anything meaningful?
>
> Trying with localhost instead, I just got
>
> Failed Test Stat Wstat Total Fail Failed List of Failed
>
> -------------------------------------------------------------------------------
> t/security/CVE-2004-0959.t 2 512 ?? ?? % ??
> t/security/CVE-2008-2364.t 3 1 33.33% 3
>
> Investigating those.
>
> --
> Nick Kew
>
> Application Development with Apache - the Apache Modules Book
> http://www.apachetutor.org/
>
Re: in test framework
Posted by Jim Jagielski <ji...@jaguNET.com>.
On Jun 11, 2008, at 5:33 PM, Nick Kew wrote:
> Line 367 in t/conf/httpd.conf reads:
>
> <VirtualHost _default_:8530>
>
> This causes a failure on Solaris, with
> Could not resolve address '255.255.255.255' -- check resolver
> configuration.
> The same thing happens in various other places in the test
> suite's config.
>
> Is _default_ supposed to do anything meaningful?
>
Default is *old*... Some useful info:
http://httpd.apache.org/docs/1.3/vhosts/examples.html#default
(also http://httpd.apache.org/docs/2.0/... and http://httpd.apache.org/docs/2.2/...)
Re: in test framework
Posted by Nick Kew <ni...@webthing.com>.
On Wed, 11 Jun 2008 22:33:47 +0100
Nick Kew <ni...@webthing.com> wrote:
> Failed Test Stat Wstat Total Fail Failed List of
> Failed
> -------------------------------------------------------------------------------
> t/security/CVE-2004-0959.t 2 512 ?? ?? % ??
An error in my perl installation - the test didn't go near the server.
> t/security/CVE-2008-2364.t 3 1 33.33% 3
EBKAC. Works fine when fixed.
My original question about _default_ stands.
--
Nick Kew
Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/
Re: in test framework
Posted by Basant Kukreja <Ba...@Sun.COM>.
I also observed this message in S10u1 while running mod_perl tests. I didn't
see this message in SXDE build. I guess this might be a bug in solaris which
is already fixed in later releases.
Regards,
Basant.
On Wed, Jun 11, 2008 at 10:33:47PM +0100, Nick Kew wrote:
> Line 367 in t/conf/httpd.conf reads:
>
> <VirtualHost _default_:8530>
>
> This causes a failure on Solaris, with
> Could not resolve address '255.255.255.255' -- check resolver
> configuration.
> The same thing happens in various other places in the test
> suite's config.
>
> Is _default_ supposed to do anything meaningful?
>
> Trying with localhost instead, I just got
>
> Failed Test Stat Wstat Total Fail Failed List of Failed
> -------------------------------------------------------------------------------
> t/security/CVE-2004-0959.t 2 512 ?? ?? % ??
> t/security/CVE-2008-2364.t 3 1 33.33% 3
>
> Investigating those.
>
> --
> Nick Kew
>
> Application Development with Apache - the Apache Modules Book
> http://www.apachetutor.org/
Re: in test framework
Posted by Rainer Jung <ra...@kippdata.de>.
Hi Nick,
Nick Kew wrote:
> Line 367 in t/conf/httpd.conf reads:
>
> <VirtualHost _default_:8530>
>
> This causes a failure on Solaris, with
> Could not resolve address '255.255.255.255' -- check resolver
> configuration.
> The same thing happens in various other places in the test
> suite's config.
The non-resolution of 255.255.255.255 on Solaris 10 is a known Solaris
bug. It's fixed in Patch 125553-03, which itself was obsoleted by
127127-11. For older Solaris releases the common workaround was to
ensure DNS for hosts in /etc/nsswitch.conf, for Solaris 10 I think the
patch is mandatory to resolve the problem.
There were several BZ issues, e.g.
https://issues.apache.org/bugzilla/show_bug.cgi?id=20063
and others.
Regards,
Rainer