Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Block fake user agent
- Hi,
- ++++++++++++++
- list of top cheapest host http://Listfreetop.pw
- Top 200 best traffic exchange sites http://Listfreetop.pw
- free link exchange sites list http://Listfreetop.pw
- list of top ptc sites
- list of top ptp sites
- Listfreetop.pw
- Listfreetop.pw
- +++++++++++++++
- How to block user agent? The website using wordpress. It's from multiple country.
- Code:
- 90.109.38.181 - - [07/Jan/2020:15:48:01 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 109.81.215.130 - - [07/Jan/2020:15:48:02 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 86.2.147.29 - - [07/Jan/2020:15:48:05 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 188.163.15.216 - - [07/Jan/2020:15:48:04 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 5.47.164.102 - - [07/Jan/2020:15:48:04 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 139.192.19.90 - - [07/Jan/2020:15:48:05 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 197.162.239.91 - - [07/Jan/2020:15:48:06 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 14.165.170.211 - - [07/Jan/2020:15:48:09 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 197.41.74.46 - - [07/Jan/2020:15:48:12 +0800] "GET / HTTP/1.1" 200 0 "-" "okhttp/3.11.0"
- 88.255.101.226 - - [07/Jan/2020:15:48:09 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 86.126.133.53 - - [07/Jan/2020:15:48:09 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 86.208.161.16 - - [07/Jan/2020:15:48:10 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 5.111.215.157 - - [07/Jan/2020:15:48:10 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 41.13.108.117 - - [07/Jan/2020:15:48:10 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 155.223.241.1 - - [07/Jan/2020:15:48:03 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 86.208.161.16 - - [07/Jan/2020:15:48:11 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- 188.26.142.178 - - [07/Jan/2020:15:48:11 +0800] "GET / HTTP/1.1" 301 0 "-" "okhttp/3.11.0"
- Thanks.
- You can do this via modsecurity.
- Sorry, i'm not expert. Please provide me step so i can add on modsecurity.
- Modsecurity method - depends on ruleset used and requires root access to change but should have a central "user agents blacklist" file that you just put the useragent in to.
- .htaccess / rewrite method:
- Code:
- RewriteCond %{HTTP_USER_AGENT} okhttp [NC]
- RewriteRule .* - [F,L]
- if it is the only rewrite don't forget to add "RewriteEngine On" above that.
- www.cyberhostpro.com
- hosting images on google drive
- e money making
- forum hosting website
- i hosting traduccion
- brandmetool.com
- b hosted
- c hostname
- make money 101
Advertisement