On 22 Apr 1998, Dean Gaudet wrote:

> The following reply was made to PR general/2117; it has been noted by GNATS.
> 
> From: Dean Gaudet <[EMAIL PROTECTED]>
> To: "David J. MacKenzie" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: general/2117: The CIDR syntax support for allow and deny finds 
> the '/' in comments.
> Date: Wed, 22 Apr 1998 13:07:58 -0700 (PDT)
> 
>  On 22 Apr 1998, David J. MacKenzie wrote:
>  
>  >  int ap_hostname_syntax(char *s)
>  >  {
>  >      for (; *s; s++) {
>  >    /* Allow : for IPv6.  */
>  >    if (!isalnum(*s) && strchr("_-.:", *s) == NULL)
>  >        return 0;
>  >      }
>  >      return 1;
>  >  }
>  
>  _ isn't valid though... I suppose we could do something like bind does
>  with it; complain but allow it.

It is valid in a hostname, no?

Just not a Internet domain name.  These things aren't necessarily just
domain names. 

BIND actually has a bunch of different behaviours.  Recent resolvers
refuse to look such names up at all.  But Apache isn't the place for that.

Reply via email to