You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/06/27 04:44:58 UTC

DO NOT REPLY [Bug 21133] New: - Apache allows an underscore in hostname

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21133>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21133

Apache allows an underscore in hostname

           Summary: Apache allows an underscore in hostname
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: gmerrall@team.aol7.com.au


System. Redhat-7.3-x86. Using wildcard DNS.
Vhost entry
<VirtualHost 10.5.3.18>
  DocumentRoot /var/www/html/thorpe_cms
  ServerName thorpe_cms.ratbox.ops.au.XXX.com
  ServerAlias thorpe_cms.ratbox
  php_value include_path .:/var/www/html/thorpe_cms/lib:/var/www/i7lib
</VirtualHost>

I foolishly used an underscore in the ServerName parameter which had me beating
my head against a brink wall as IE was giving mr grief about session cookies. 
This wasn't picked up by bind because of the wildcard DNS.

Should apache check that the DNS name passes some basic checks? I appreciate
that the rules around DNS are complex but perhaps a few basic checks might help
out brain dead people like myself who forgot about the underscore rule.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org