Block CONNECT method in httpd.conf

RewriteEngine on 
RewriteCond %{REQUEST_METHOD} ^(CONNECT|TRACE)$ 
RewriteRule ^.*$ - [L,F] 
  
ProxyRequests Off 

ProxyRequest should be set to off, unless you have security protect in your web server.

你可能感兴趣的:(Block CONNECT method in httpd.conf)