You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by vsolve apache <vs...@yahoo.com> on 2000/03/01 06:24:50 UTC

Re: general/5821: Hostnames with underscore produce "Client sent malformed Host header"

> 
> >Number:         5821
> >Category:       general
> >Synopsis:       Hostnames with underscore produce
"Client sent malformed Host header"
> >Confidential:   no
> >Severity:       critical
> >Priority:       medium
> >Responsible:    apache
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   apache
> >Arrival-Date:   Tue Feb 29 04:20:00 PST 2000
> >Closed-Date:
> >Last-Modified:
> >Originator:     dbeutner@acg-gmbh.de
> >Release:        1.3.12 (since 1.3.11)
> >Organization:
> apache
> >Environment:
> WinNT 4.0, but occurs on all platforms
> >Description:
> See above (title). See also PR's ## 5720, 5722, 5736
(reported against 1.3.11,
> but still it occurs in 1.3.12).
> >How-To-Repeat:
> With a hostname with an underscore (like my
localhost: "sapsw14_2").
> >Fix:
> An underscore is a valid char in a hostname, but it
is not recognized as this.
> See also PR # 5720 for details.


Try to check your /etc/hosts file and httpd.conf file
with ours:

"host" file entries are:
..
172.16.1.102  sapsw14_2 sap
..

"httpd.conf" entries are:
..........
........
NameVirtualHost 172.16.1.102
<VirtualHost sapsw14_2>
.....
..


regards,
visolve_apache
Visolve.com




=====
_____________________________________________
Visit our website: http://www.v-solve.com
Regarding our services mail to: visolve@pacbell.net
Tel: (408) 666-4320
_____________________________________________
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com