Reputation: 11
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
Upvotes: 0
Views: 996
Reputation: 3300
You can disable wget
and curl
with the rules below:
RewriteCond %{HTTP_USER_AGENT} ^pycurl [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]
Just add them to .htaccess
.
Upvotes: 0