Skip to main content

LevelBlue Completes Acquisition of Cybereason. Learn more

LevelBlue Completes Acquisition of Cybereason. Learn more

Services
Cyber Advisory
Managed Cloud Security
Data Security
Managed Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Loading...
Loading...

HOWTO: Redirecting users to another URL when a Rule is triggered

Expand / Collapse


This article applies to:

  • WebMarshal

Question:

  • How do I redirect users to another URL when a Rule is triggered?

Procedure:

A company may want to redirect users to a specific website (typically company homepage or policy page) in the event of a rule triggering.

Create an HTML page with the code below, and save it to the WebSite subfolder of the WebMarshal install folder.  Save it as Blockedredirect.htm. Edit the code to point to the URL you require. Note that the code as written redirects to www.example.com.

Note: For WebMarshal 6.0 and above, save the file on the Array Manager server, in the folder named Array Manager\Policy\Templates.

Finally edit your blocking rule in WebMarshal to display this BlockedRedirect page. Reload the server rules to effect the change.

Example Rule:

When a web request is received
For any User
And where the URL is a member of Pornography

Block Access to this site and display BlockedRedirect page
Classify the domain as Pornography
And do not process any further rules


Example HTML Code:

<html>
<head>
<meta HTTP-EQUIV="REFRESH" content="0; URL=http://www.example.com/">
<title>Access Denied</title>
</head>

<body>
<br>
Redirecting .....
</body>
</html>

This article was previously published as:
NETIQKB29546
Marshal KB436

To contact LevelBlue about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.