Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
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 Trustwave 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
.