php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3961 HEAD / HTTP/1.0 && /usr/local/bin/php -v do nothing
Submitted: 2000-03-29 13:53 UTC Modified: 2000-07-24 08:58 UTC
From: vince at mha dot ca Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Release Candidate 1 OS: Linux 2.2.14 (RedHat 6.x)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vince at mha dot ca
New email:
PHP Version: OS:

 

 [2000-03-29 13:53 UTC] vince at mha dot ca
this breaks my monitoring software which is why I noticed it (my software does a "HEAD / HTTP/1.0" to verify the web site is up)

------------------

[vince@cat ~]$ telnet cat.mha.ca 80
Trying 209.153.196.184...
Connected to cat.mha.ca.
Escape character is '^]'.
HEAD / HTTP/1.0

Connection closed by foreign host.
[vince@cat ~]$

------------------

[vince@cat ~]$ /usr/local/bin/php -v
[vince@cat ~]$

------------------

This is not good but it does give the correct headers with GET

------------------

[vince@cat ~]$ telnet cat.mha.ca 80
Trying 209.153.196.184...
Connected to cat.mha.ca.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 200 OK
Date: Wed, 29 Mar 2000 18:52:43 GMT
Server: Apache/1.3.12 (Unix) PHP/4.0RC1
X-Powered-By: PHP/4.0RC1
Connection: close
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD></HEAD>
<!-- This is a comment -->
<BODY></BODY></HTML>
Connection closed by foreign host.
[vince@cat ~]$


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-24 11:02 UTC] stas at cvs dot php dot net
does it still happen i latest version?
 [2000-07-24 08:58 UTC] stas@php.net
no feedback from user
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 20:01:29 2024 UTC