httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: cvs commit: apache-1.3/src/main http_vhost.c
Date Mon, 02 Feb 1998 21:06:28 GMT
I haven't dug into the DNS rfcs but I believe that "abc.." is different
from "abc." ... I think only one trailing . has significance (to root the
request without doing local searching).  If someone has a chance to dig
into the rfcs that'd be great. 

Dean

On Mon, 2 Feb 1998, Martin Kraemer wrote:

> Dean wrote,...
> >   +    /* trim a trailing . */
> >   +    l = strlen(host);
> >   +    if (l > 0 && host[l-1] == '.') {
> >   +        host[l-1] = '\0';
> >   +    }
> 
> Shouldn't that be a "while" instead of an "if"? My browser has no problems
> accessing "http://www.apache.org.../" (note the ellipsis!).
> 
> > nslookup www.apache.org...
> Server:  deejai.mch.sni.de
> Address:  139.25.113.10
> 
> Non-authoritative answer:
> Name:    www.apache.org
> Address:  204.62.130.149
> 
> Only dig has problems:
> > dig www.apache.org...
> ; <<>> DiG 2.2 <<>> www.apache.org... 
> ;; res_mkquery: buffer too small
> 
> Just wanted to mention..
>     Martin
> -- 
> | S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
> | ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
> | N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
> ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
> 


Mime
View raw message