Bug#851357: Regression: No longer supports ServerName containing underscore
On Saturday, 14 January 2017 12:33:55 CET Jonathan Vollebregt wrote:
> Actually that makes another point: according to RFC952 hostnames are
> allowed only a single period:
>
> http://www.ietf.org/rfc/rfc952.txt
>
> > <hname> ::= <name>*["."<name>]
> > <name> ::= <let>[*[<let-or-digit-or-hyphen>]<let-or-digit>]
>
> Unless this was updated in another RFC that means apache shouldn't even
> support subdomains in virtual hosts, and say goodbye to the .co.uk tld!
No, the *[ ... ] syntax means an arbitrary number of the thing in the
brackets.
> I think we can write this off as confusion due to the apache
> documentation and say this is an actual bug and ServerName is supposed
> to take domainnames
I don't think underscores in domain names are allowed in general. But I know
that they are in are in wide use. So maybe there should be an exception or an
explicit knob to allow them.
A workaround is
HTTPProtocolOptions unsafe
Reply to: