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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 04:00:01 2026 UTC