Client sent malformed Host header
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Client sent malformed Host header




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Client sent malformed Host header  
Si


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-18-04 07:05 PM

Hi,

Forgive me if this is a simple question but I am new to this, I have apache
running on one of the computers on my home network, I have port forwarding
set up, it works fine inside my network, but not outside,

Someone suggested I tried using
http://www.psi-rho.com/dsltools/test.php?type=www to test the connection,
its reporting port 80 open and the error message shown at the end of this
post. The apache error log shows "Client sent malformed Host header"

Any suggestions to what my problem is would be greatfully received.

Cheers Si,


Error Message...........

HTTP/1.1 400 Bad Request
Date: Fri, 12 Mar 2004 20:52:46 GMT
Server: Apache/2.0.48 (Win32) PHP/4.3.4
Content-Length: 313
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr />
<address>Apache/2.0.48 (Win32) PHP/4.3.4 Server at 10.0.0.202 Port
80</address>
</body></html>





[ Post a follow-up to this message ]



    Re: Client sent malformed Host header  
Owen Jacobson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-18-04 07:05 PM

On Fri, 12 Mar 2004 21:01:15 +0000, Si wrote:

> Hi,
>
> Forgive me if this is a simple question but I am new to this, I have apach
e
> running on one of the computers on my home network, I have port forwarding
> set up, it works fine inside my network, but not outside,
>
> Someone suggested I tried using
> http://www.psi-rho.com/dsltools/test.php?type=www to test the connection,
> its reporting port 80 open and the error message shown at the end of this
> post. The apache error log shows "Client sent malformed Host header"
>
> Any suggestions to what my problem is would be greatfully received.
>
> Error Message...........
<snip>

Without the client's half of the transaction, particularly the Host:
header, it will be very hard to diagnose this.

--
Some say the Wired doesn't have political borders like the real world,
but there are far too many nonsense-spouting anarchists or idiots who
think that pranks are a revolution.






[ Post a follow-up to this message ]



    Re: Client sent malformed Host header  
Si


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-18-04 07:05 PM

On Sat, 13 Mar 2004 04:02:25 GMT, Owen Jacobson wrote:

> On Fri, 12 Mar 2004 21:01:15 +0000, Si wrote:
> 
> <snip>
>
> Without the client's half of the transaction, particularly the Host:
> header, it will be very hard to diagnose this.

How do I do this (as I said before I'm new to this).
The address is http://81.152.33.78

Cheers Si,





[ Post a follow-up to this message ]



alex is offline     Re: Client sent malformed Host header  
alex


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for alex Click here to Send alex a Private Message Find more posts by alex Add alex to your buddy list
 
06-25-04 03:45 AM

quote:
Originally posted by Si On Sat, 13 Mar 2004 04:02:25 GMT, Owen Jacobson wrote: > On Fri, 12 Mar 2004 21:01:15 +0000, Si wrote: > > <snip> > > Without the client's half of the transaction, particularly the Host: > header, it will be very hard to diagnose this. How do I do this (as I said before I'm new to this). The address is http://81.152.33.78 Cheers Si,
OK, that's wrong. only "host: name:port" is allowed (name can also be IP). C heck the following link: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for the official w3c format.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register