Author |
Topic  |
|
thelodger
Junior Member
 
United Kingdom
296 Posts |
Posted - 08 July 2009 : 17:02:40
|
Running the new version of snitz, I obviously need to add a mod, but which one is the best one to add bearing in mind that most of the mods were written for older versions of Snitz? |
|
leatherlips
Senior Member
   
USA
1838 Posts |
|
thelodger
Junior Member
 
United Kingdom
296 Posts |
Posted - 08 July 2009 : 17:41:56
|
Cheers, I had ipgate on the last version of the forum, and while it seemed a little complicated,(not to install, to understand how it works) I guess I will have to install it and read about it more than I have done. |
 |
|
KC
Junior Member
 
USA
152 Posts |
Posted - 15 July 2009 : 15:01:30
|
I just use global.asa
Just ftp it to your web site root if you use .asp pages. It runs before any .asp page does and you can do some fun stuff with it.
If you don't have one already it's easy, it's just a .txt file using VBscript commands you rename.
It MUST start with <SCRIPT LANGUAGE=VBScript RUNAT=Server>
For a full IP address the VBscript is
' your comment about why you are banning this IP if Request.ServerVariables("remote_host")= "96.252.61.88" then Response.Redirect "http://Your Personal Ban.html page" or anywhere else you want to send them end if
If you want to cut off a whole block of IP's, like I did this Russian spider it is
'Russian spider 4-15-09 if left(Request.ServerVariables("remote_host"),6)= "77.88." then Response.Redirect "http://vales.com/Banned.htm" end if
Note the bold, that is the count of of digits to count from the left counting periods.
and global.asp MUST end with </SCRIPT>
Easy ;-}
|
Owner of vales.com and Elite Computers. |
 |
|
|
Topic  |
|