this is a simple Htaccess code , which i was using to block proxy users.
here is the code .
i'm not going to explain this code , as i assume its not needed ,
but still if anyone what to ask , you can reply here.
i would love to reply.
usage :
simply make a new .htacces in your public_html folder
and copy paste the above code in it.
here is the code .
Code:
# Block Proxy users/servers from accessing your Site.
# H4x0rL1f3 | M4DSh4k | 1337 | www.MaDLeets.com
RewriteEngine on
RewriteCond %{HTTP:VIA} !^$ [OR]
RewriteCond %{HTTP:FORWARDED} !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$
RewriteRule ^(.*)$ - [F]
i'm not going to explain this code , as i assume its not needed ,
but still if anyone what to ask , you can reply here.
i would love to reply.
usage :
simply make a new .htacces in your public_html folder
and copy paste the above code in it.
0 comments:
Post a Comment