Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Client sent malformed Host Header

200 views
Skip to first unread message

Sarit Kapur

unread,
Jan 18, 2001, 4:31:36 PM1/18/01
to
I installed WebSphere V3.5 on Windows NT 4.0. Just after installing I
tried to
test whether the IBM HTTP Server is working.

If I type (in my browser's address line):
http://localhost/
or
http://<IP address>/

everything works Ok and I see the default first page of the IBM HTTP
server.

But if I type

http://<My server name>/

my browser displays:
Your web browser sent a request that this web server could not
understand
Client sent malformed Host Header


Mark Ho

unread,
Jan 19, 2001, 11:47:22 AM1/19/01
to Sarit Kapur
Hello Sarit,

Sarit Kapur wrote:

> But if I type
>
> http://<My server name>/
>
> my browser displays:
> Your web browser sent a request that this web server could not
> understand
> Client sent malformed Host Header

Just a quick thought - do you have an underscore ("_") character in your
host name?
This is the only time I have ever seen this error. Apparently, IHS
1.3.12 (which comes with WAS 3.5 has more restrictive name checking.

Regards,
Mark


Rajaneesh Acharya

unread,
Jan 19, 2001, 12:02:29 PM1/19/01
to
Had the same problem from my side. The server name was getting automatically
configured to
my Win NT user ID.


Sarit Kapur <sa...@letterbox.com> wrote in message
news:3A6760B7...@letterbox.com...

Rodent of Unusual Size

unread,
Jan 30, 2001, 5:46:48 PM1/30/01
to
Mark Ho wrote:
>
> Just a quick thought - do you have an underscore ("_") character
> in your host name?
> This is the only time I have ever seen this error. Apparently, IHS
> 1.3.12 (which comes with WAS 3.5 has more restrictive name checking.

It is being properly restrictive. HTTP references the DNS RFCs
for hostname syntax, and DNS does not permit underscores in hostnames.
--
#ken P-)}

Ken Coar <http://Golux.Com/coar/>
Apache Software Foundation <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed" <http://ApacheUnleashed.Com/>

Sarit Kapur

unread,
Feb 1, 2001, 10:34:56 AM2/1/01
to
Thanks Mark. It worked. Underscore was the problem.

Brian Minchau

unread,
Feb 1, 2001, 11:13:07 AM2/1/01
to
While on the topic of underscores.... you might be curious that I've seen JDKs
work fine with underscores in the class name, but when the code is moved to
another platform the loader has a problem with it.

This isn't the hostname, but it is another place where underscores might not be
a good idea.

--
Brian Minchau (min...@ca.ibm.com)
IBM Toronto


0 new messages