Viewing 1 to 3 of 3 items
Archive | May 14, 2012

Blocking based on a specific IP with htaccess

    Do you have a certain IP address or a (handful) that is always causing you problems on your site? Redirect them with this easy few lines of code in your .htaccess file. Replace the xx’s with the IP numbers. RewriteEngine On RewriteBase / RewriteCond %{REMOTE_ADDR} ^xx.xx.xx.xx$ [OR] RewriteCond %{REMOTE_ADDR} ^xx.xx.xx.xx$ RewriteRule .*  Full Article…


Quick edit for your hosts file

Open notepad and paste in the code below, then save as hosts.vbs and save it inside your windows directory. Then all you need to do is type start -> run and type “hosts.vbs” and it will fire up your windows hosts file inside notepad Set Sh = WScript.CreateObject(“WScript.Shell”) On Error Resume Next sOStype = Sh.RegRead(_  Full Article…