BannedIP Call
Description: Reads the ClientIP and checks against the IgnoreIPs table. Not sure what this is used for..

SQLCommand To Run:

@ClientIP:

This IP is banned:

False

Successfully Checked Blocked IP


Variables
GenericURL: /system-error/error.aspx

ReadQueryStringTailPath Function Call
Description: Reads the querystring & extracts the full tail path.
Query string as read: aspxerrorpath=/about/diversity/index.aspx
.NET Query string as read: test.sarasotamanatee.usf.edu
Protocol: http://
ASP.NET Error Path: /about/diversity/index.aspx
URLInfo.CleanQueryStr Value: test.sarasotamanatee.usf.edu/about/diversity/index.aspx
URLInfo.CleanQuertyStrFullTail Value: /about/diversity/index.aspx

CheckforBadSyntax Call
Description: Takes the QueryString and identifies if any of the blackList strings are found. If so, the user is auto-redirected to the Generic 404 Page.
What is being checked:
/about/diversity/index.aspx

QueryStrFix Scrub:

No Bad Syntax Found


URLTailCleanup Call
Description: Takes a copy of the CleanQueryStrVDFullTail variable: (1) populates the CleanQueryStrVDSearch variable for the DB search string, (2) populates the CleanQueryStrVDExtraTail variable with the remaining tail path.
Position of second '/': 7
Cleaned URL - Full VD Tail: /about/diversity/index.aspx
Cleaned URL - Tail Artifact (used later to reform URL): /diversity/index.aspx
Cleaned URL - Search Variable: about
Cleaned URL: test.sarasotamanatee.usf.edu/about/diversity/index.aspx
URLInfo.CleanQueryStrVDSearch Function Returned: about
URL of Sarasota Manatee: test.sarasotamanatee.usf.edu/about/diversity/index.aspx

CheckIgnoreURL Call
Description: Checks the URL against the IgnoreURL table, if a match is found the user will be directed straight to the 404 Page Not Found page and the URL will not be logged in ErrorPageLog.

SQLCommand To Run:

@Campus:

@URL:

URL is not ignored

RedirectGoLive Call -- File Level Redirects
Description: Check the File Redirects table for a matching file; if one exists return the redirect URL.
URL Full VD Tail: /about/diversity/index.aspx
URL Full: test.sarasotamanatee.usf.edu/about/diversity/index.aspx
URL Full Minus Protocol: test.sarasotamanatee.usf.edu/about/diversity/index.aspx

SQLCommand To Run:

@Campus:

@filepath:

No FilePath Match

No real URL in DB for FileRedirect.


DBSearchVD Call for Sarasota Manatee
Description: Takes the search string, compares it to the URLNinja DB and returns the RedirectURL field. Also takes into consideration if the Expiration Date has arrived.
Checking Folder: 1 -- /about

SQLCommand To Run:

@Campus:

@BadVDName:

No Match

No real URL in DB.

DBReturnURLPath was empty... moving on!

Check for Multi Folder Redirect
Description: Check number of / in the URL, loop through each folder starting from last to check if the path exists.
Full Path: about/diversity/index.aspx
The path contains 2 /s

File Found in Folders
Skip because it is a file (index.aspx)

DBSearchVD Call for Sarasota Manatee
Description: Takes the search string, compares it to the URLNinja DB and returns the RedirectURL field. Also takes into consideration if the Expiration Date has arrived.
Checking Folder: 2 -- /about/diversity

SQLCommand To Run:

@Campus:

@BadVDName:

Checking for PassThru Flag in DB:
PassThru: False

DB Success: Real URL found in DB.

Found URL: https://www.usf.edu/diversity

URL Length (newURLPathLenght): 29
Position of '/' Found (TailSlashEndPos): 20

Trailing '/' Not Found.

DBReturnURLPath Value: https://www.usf.edu/diversity

RedirectURLPath Call
Description: Determine if the Redirect URL is Null or has a real URL
Real URL

GoURL Call
Description: Redirects the end user to the URL provided.
Final redirect path: https://www.usf.edu/diversity

Would have done:

Function Returned - Real URL