You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@lnd.com> on 2000/06/23 01:53:21 UTC

Save me from FW: general/6222: NameVirtualHost doesn't work where there is a '-' or a '_' in the domain name.

Is anyone else getting killed with multiple transmissions of this,
or is my isp merely whacked?

Bill

> -----Original Message-----
> From: Dave Humphreys [mailto:dave@datatone.co.uk]
> Sent: Thursday, June 22, 2000 3:48 PM
> To: submit@bugz.apache.org
> Subject: general/6222: NameVirtualHost doesn't work where
> there is a '-'
> or a '_' in the domain name.
>
>
>
> >Number:         6222
> >Category:       general
> >Synopsis:       NameVirtualHost doesn't work where there is
> a '-' or a '_' in the domain name.
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       medium
> >Responsible:    apache
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   apache
> >Arrival-Date:   Thu Jun 22 13:50:00 PDT 2000
> >Closed-Date:
> >Last-Modified:
> >Originator:     dave@datatone.co.uk
> >Release:        1.3.12
> >Organization:
> apache
> >Environment:
> RedHat Linux 6.2, Standard RedHat 'Secure Server' release
> (built Mar 1 2000 13:37:34)
> >Description:
> I can't make the NameVirtualHost mechanism work with a
> non-alphanumeric character in the domain name (I have trouble
> with 'www.learning-fun.co.uk' and 'ti_demon.ip.uk.com'. These
> worked fine with my earlier release (1.3.9) which I compiled
> from the downloaded sources. (At least, 'ti_demon.ip.uk.com'
> did, 'www.learning-fun.co.uk' is a new domain). As a test, I
> set up DNS to duplicate all configuration of
'www.learning-fun.co.uk' as 'www.learningfun.co.uk' and simply deleted the '-' from the domain name in the 'ServerName' directive in
httpd.conf. Accessing learningfun works, whilst accessing learning-fun doesn't. I really hope that this isn't a screw-up on my part,
and that it isn't a known problem. I have checked through the database and I think my testing is sound. It seems like the sort of
problem that would have been seen very quickly, however. If this is a real bug, I'd say it was quite a problem. I can get around it
by setting up a separate IP alias, but if I had many such domain names to serve, this mi
    >How-To-Repeat:
Try to make the NameVirtualHost mechanism work with a non-alphanumeric character in the domain name, in particular, '-' and '_'.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@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!     ]