httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bohumil Holubec <>
Subject [users@httpd] limit CONNECT
Date Tue, 21 Jun 2005 00:33:07 GMT
I have apache 2.0.54 with PHP4.3.11 and I would like to deny method 
CONNECT like this: (its on the end of apache2.conf)
<Location />
   <Limit CONNECT>
     Order Deny,Allow
     Deny from all

Now when i try:
$ telnet 80
Trying ###.###.###.###...
Connected to
Escape character is '^]'.

I have response HTTP/1.1 403 Forbidden
BUT all other directives and settings using order... doesnt works. For 
<IfModule mod_access.c>
<Files ~ "^\.ht">
     Order allow,deny
     Deny from all
from apache config file doesnt works (all .ht files are accessible). 
Settings from .htaccess files has no effects too etc.

Without <limit CONNECT>... the response on telnet is HTTP/1.1 200 and i 
dont want it.
Can someone help me with deny method connect please.

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