httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chad Kellerman <ckeller...@alabanza.com>
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
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
CONNECT domain.com:25 HTTP/1.0


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/5.0.2.2634 Rewrit/1.1a
Allow: GET, HEAD, OPTIONS, TRACE
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
   </Limit>
</Location>

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


Thanks for any pointers....


Chad






---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message