Print Page | Close Window

Redirecting Banned IPs

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=29032
Printed Date: 01 April 2026 at 4:05pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Redirecting Banned IPs
Posted By: Bill650
Subject: Redirecting Banned IPs
Date Posted: 28 December 2010 at 8:59am
I just upgraded to 9.69 and I don't know where to put my Redirct script.
 
if blnBanned or bannedIP() then    'Reset server objects
    Call closeDatabase()
    
    'Redirect to the missing page    Response.Redirect("/404.asp")end if
 
Can you you tell me what ASP page and what Line Number it would go in?
 
Thanks
Bill



Replies:
Posted By: WebWiz-Bruce
Date Posted: 28 December 2010 at 11:02am
Place the code near the end of the common.asp file.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net