I need to disable remotely downloading my web pages using curl/wget.
I want to disable curl -vv http://www.example.com and I need to get a result like this
**
**
I am using Apache, Using Cloudflare. Please help me
答案 0 :(得分:0)
您可以使用以下规则停用wget
和curl
:
RewriteCond %{HTTP_USER_AGENT} ^pycurl [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]
只需将它们添加到.htaccess
。