[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird logs showing up
From: |
alex black |
Subject: |
Re: weird logs showing up |
Date: |
Sat, 11 Mar 2006 14:14:44 -0800 |
It looks like the HTTP server issue a redirect response (status
code 302). Monit does not handle redirects very well. Make sure
that the URL you are testing returns a status code of 200, when all
is well.
That's the thing: I can't get my webserver to return 302s to me under
any other circumstances:
telnet www.myhost.com 80
GET /catalog/list.php HTTP/1.1
HOST: www.myhost.com
returns (as I expect) an html payload from an external machine and
the server.
I have no special webserver config for monit, etc. I would expect it
to receive the same return as my tenet session. It doesn't.
I have attached an ngrep payload from my server, it's weeeeird:
ngrep -W byline -d lo port 80
interface: lo (127.0.0.0/255.0.0.0)
filter: ip and ( port 80 )
####
T my.ip.address:42354 -> my.ip.address:80 [AP]
GET /catalog/list.php HTTP/1.1.
Host: www.myhost.com:80.
Accept: */*.
User-Agent: monit/4.5.
.
##
T my.ip.address:80 -> my.ip.address:42354 [AP]
HTTP/1.1 302 Found.
Date: Sat, 11 Mar 2006 22:08:39 GMT.
Server: Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-16 mod_ssl/2.0.54
OpenSSL/0.9.7e.
X-Powered-By: PHP/4.3.10-16.
Expires: Tue, 1 Jan 1980 12:00:00 GMT.
Last-Modified: Sat, 11 Mar 2006 22:08:39 GMT.
Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-
check=0, max-age=0.
Pragma: no-cache.
Set-Cookie: myhost=8d48d1ff9cecad7e5124eaab86c570e5; path=/.
Location: http://www.myhost.com//catalog/list.php.
Content-Length: 20.
Content-Type: text/html.
.
<!-- UNKNOWN sec -->
##
T my.ip.address:42354 -> my.ip.address:80 [AP]
GET http://www.myhost.com//catalog/list.php HTTP/1.1.
Host: www.myhost.com:80.
Accept: */*.
User-Agent: monit/4.5.
Cookie: myhost=8d48d1ff9cecad7e5124eaab86c570e5; path=/.
.
##
T my.ip.address:80 -> my.ip.address:42354 [AP]
HTTP/1.1 302 Found.
Date: Sat, 11 Mar 2006 22:08:40 GMT.
Server: Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-16 mod_ssl/2.0.54
OpenSSL/0.9.7e.
X-Powered-By: PHP/4.3.10-16.
Expires: Tue, 1 Jan 1980 12:00:00 GMT.
Last-Modified: Sat, 11 Mar 2006 22:08:40 GMT.
Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-
check=0, max-age=0.
Pragma: no-cache.
Location: http://www.myhost.com/http://www.myhost.com//catalog/list.php.
Content-Length: 20.
Content-Type: text/html.
.
<!-- UNKNOWN sec -->
##
--
alex black, founder
the turing studio, inc.
510.666.0074
address@hidden
http://www.turingstudio.com
2600 10th street, suite 635
berkeley, ca 94710
- weird logs showing up, alex black, 2006/03/10
- Re: weird logs showing up, Jan-Henrik Haukeland, 2006/03/11
- Re: weird logs showing up,
alex black <=
- Re: weird logs showing up, Jan-Henrik Haukeland, 2006/03/13
- Re: weird logs showing up, alex black, 2006/03/13
- Re: weird logs showing up, Tim Jackson, 2006/03/14
- Re: weird logs showing up, Jan-Henrik Haukeland, 2006/03/14
- Re: weird logs showing up, Tim Jackson, 2006/03/14