www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Herko ter Horst <herko.ter.ho...@aidministrator.nl>
Subject general/5722: Hostnames with underscores fail to work with VirtualHost directive
Date Tue, 08 Feb 2000 12:02:52 GMT

>Number:         5722
>Category:       general
>Synopsis:       Hostnames with underscores fail to work with VirtualHost directive
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Feb 08 04:10:00 PST 2000
>Originator:     herko.ter.horst@aidministrator.nl
>Release:        1.3.11
Solaris 2.7
Our configuration from 1.3.6 included this VirtualHost setup:

NameVirtualHost 111.222.333.444
<VirtualHost 111.222.333.444>
    ServerName www_ourname_com
<VirtualHost 111.222.333.444>
    ServerName news_ourname_com

With www_ourname_com and news_ourname_com, as well as www_ourname_com.ourdomain.com and news_ourname_com.ourdomain.com,
being valid DNS names.
However, with 1.3.11 this fails to work. The only way to get it working again is to use virtual
hosts with no underscores in the name.

The error is a Bad request (Client sent malformed Host header).
An adaptation of the sample configuration above should reproduce the problem.

 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message