ID:               19113
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php_new at jdc dot parodius dot com
-Status:           Feedback
+Status:           Bogus
 Bug Type:         Apache related
 Operating System: FreeBSD
 PHP Version:      3.x, 4.x, 5.x
 New Comment:

Not PHP problem.


Previous Comments:
------------------------------------------------------------------------

[2005-12-14 01:28:36] [EMAIL PROTECTED]

Does this work for you too:
NOSUCHMETHOD / HTTP/1.0
?


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

[2005-12-14 01:16:46] php_new at jdc dot parodius dot com

This bug still applies to PHP 5.x, apparently.  A user of mine just
recently asked me why his Apache logs were showing HTTP 200 status
codes with requests like "CONNECT" when mod_proxy isn't loaded, and I
pointed him to this bug.

Could a developer please look at this?  This bug is over 3 years old
(!).  Changing Status to Open...

Thanks.

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

[2003-12-03 16:24:59] uhlar at fantomas dot sk

I don't know the apache's interface to modules, But I think that either
php should tell apache by initialization that it can handle GET, HEAD,
and POST method, ot the php should
check whether it is able to process the method (CONNECT in this case) -
if it does have handler for it. 
I think that php does not have handler for CONNECT by default, thus it
should either reject the request or pass it to apache for later
processing.

mod_perl probably has the same bug, but unless apache does have an
interface for modules to specify which methods are they able to use AND
ignores the methods, it is a bug od mod_php versus mod_perl...

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

[2003-08-24 10:26:07] messi at toxis dot com

I added the following three lines to Apache's mod_dir. This is ugly but
works fine for me. Unless there's another way to prevent mod_php4 from
getting invoked I'll use this on my machines.
Dunno if this will work with mod_proxy but I guess so.

--- src/modules/standard/mod_dir.c
+++ src/modules/standard/mod_dir.c
@@ -118,4 +118,7 @@
 static int handle_dir(request_rec *r)
 {
+    if (r->method_number == M_CONNECT)
+        return HTTP_NOT_IMPLEMENTED;
+
     dir_config_rec *d =
     (dir_config_rec *) ap_get_module_config(r->per_dir_config,

Use it at your own risk and only with Apache 1.3(.28)!

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

[2003-06-03 22:17:59] [EMAIL PROTECTED]

See comment by: [16 Mar 6:40am CST] psi-jack at myrddincd dot com 

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19113

-- 
Edit this bug report at http://bugs.php.net/?id=19113&edit=1

Reply via email to