Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
How to Redirect Traffic to a Different Back-end Server Based on a URL Pattern
Updated Jan 08

How to Redirect Traffic to a Different Back-end Server Based on a URL Pattern

Jan 08, 2026
Subscribe

This feature is available on all units, however, access to this feature varies depending on your firmware version.

The WEBSITES > Traffic Management page allows you to define content rules that specify a pattern in the URL or header fields of the request. The Barracuda Web Application Firewall compares URLs and header fields of requests to the rules you define and applies the content rule policies to matching requests.

To create a content rule:

  1. For firmware version 7.6 and higher:

    1. From the BASIC > Services page in the Services section, identify the desired service.

  2. For firmware version before 7.6:

    1. From the WEBSITES > Traffic Management page in the Services section, identify the desired service.

  3. Click the Rule option next to the service. The Add Content Rule window appears.

  4. In the URL Match field, enter the URL of the requests you want to redirect to a different back-end server. Specify appropriate values for the other fields and click Add. See How to Add a Content Rule.

  5. Click the Server option next to the rule you just created. The Add Real Server window appears.

  6. In the IP Address field, enter the destination IP address where matching requests should be redirected. Specify appropriate values for the other fields and click Add. See How to Add a Real Server.

Example:

To redirect incoming requests for www.barracuda.com/xyz/ to server1 (192.168.1.1), you would create a content rule as follows:

  • Rule Group Name – abc

  • Host Match – www.barracuda.com

  • URL Match – /xyz*

  • Extended Match – * (or specify the condition under which the redirection should take place)

  • Extended Match Sequence – 1000

Adding a Server:
  • IP Address – 192.168.1.1

  • Port – 80

  • Status – In Service


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

🔍 Discover Our Product Documentation

Barracuda Web Application Firewall
Results will update as you type.
  • How to Update Your Notification Email Addresses
  • What's New in the Barracuda Web Application Firewall
  • 30-Day Evaluation Guide - Barracuda Web Application Firewall
  • Getting Started
  • Deployment
  • Services
  • Securing HTTP/HTTPS Traffic
    • Evaluation Policy and Flow
    • Smart Signatures
    • Rule Matching
    • Content-Based Rules
      • How to Add a Content Rule
      • How to Redirect Traffic to a Different Back-end Server Based on a URL Pattern
    • Security Policies
    • Allow/Deny Rules for Headers and URLs
    • Back-end SSL Server Configuration
    • How to Configure URL Encryption Rule
    • How to Create a Custom Response Page
    • How to Enable HTTP/2
    • How to Enable Client Fingerprinting
    • How to Enable WebSocket
    • How to Enable Proxy Protocol
    • Detecting website defacement using Application Layer Health Check
    • OWASP TOP 10 Web Application Threat Protection
  • Advanced Bot Protection
  • Client-Side Protection
  • API Security
  • Advanced Security
  • IP Reputation-Based Filters
  • Tuning Security Rules
  • Barracuda Active Threat Intelligence
  • Access Control
  • Traffic Management
  • Configuring User-Defined Patterns
  • Logging, Reporting and Monitoring
  • High Availability
  • Networking
  • System Administration and Maintenance
  • Certificate Management
  • Centralized Management of the Barracuda Web Application Firewall
  • Attacks Description - Action Policy
  • REST API
  • Common Web Application Attacks
  • How to Set Up Barracuda Cloud Control
  • End of Support and End of Life Information
  • Critical Vulnerabilities in Web Application
  • Barracuda Advanced Bot Protection Cloud Infrastructure Upgrade Information
  • Barracuda WAF 12.2 Firmware Hardened to Augment Security of Product Features

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 16, "requestCorrelationId": "834d4cdbfc194ba4adee5d08811f09ad"}