httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chad Kellerman <>
Subject [users@httpd] Not allowing Connect method
Date Wed, 08 Sep 2004 11:28:20 GMT
Apache Gurus,

    I got a good one here.....  I used jumpstart to image 2 identical 
servers let's call them host1 and host2.  Changed the hostnames on both.

1.  The httpd binary is the same. (md5sum)
2.  All  modules files are the same. (md5sum)
3.  All config files are the same.

if I am on host1:

and I issue the following command.

[root@host1 httpd]# telnet 0 80
Connected to 0.
Escape character is '^]'.

it returns a 405 Method not allowed.

HTTP/1.1 405 Method Not Allowed
Date: Wed, 08 Sep 2004 11:00:44 GMT
Server: Apache/1.3.29 (Unix) ApacheJServ/1.1.2 PHP/4.3.4 
mod_throttle/2.11 FrontPage/ Rewrit/1.1a
Connection: close
Content-Type: text/html; charset=iso-8859-1

but if I issued the same command on host2 it returns a 200 the default 
Apache page.

I cannot figure out why one would return a 405 and one would return a 400?

It doesn't make sense what so ever.

So my questions is....

how can I configure Apache so that it does not allow ( returns a 405 ) 
the CONNECT (and TRACE) methods?

I have :

<Location />
   <Limit CONNECT>
     Order deny,allow
     Deny from all

But that returns a 403 and is not what I want.

Thanks for any pointers....


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message