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)
🔍 Discover Our Product Documentation

WAF as a Service
Results will update as you type.
  • What's New in the Barracuda WAF-as-a-Service
  • Understanding the Global Infrastructure
  • Application Security Insights
  • Getting Started
  • Configuring WAF-as-a-Service
  • Managing Your Account
  • Components
    • Adding or Removing a Component
    • Application Profiles
    • API Dashboard
    • API Discovery
    • Bot Protection
    • Caching and Compression
    • Clickjacking Protection
    • Client Certification Authentication
    • Client-Side Protection
    • Content Delivery Network (CDN)
    • Cookie Security
    • Data Theft Protection Policy
    • Distributed Denial of Service (DDoS)
    • Header Allow/Deny Rules
    • IP Address Geolocation
    • Log Export
    • Log Masking
    • Parameter Protection
    • Request Limits
    • Response Cloaking
    • Response Pages
    • Application Snapshots
    • Traffic Rewrite
    • Trusted Hosts
    • URL Access and Redirects
    • URL Normalization
    • URL Protection
    • Violation Responses - Policy Options
    • Violation Responses - Response Policies
    • Violation Responses - Manage Locked Out Clients
  • Tips and Troubleshooting
  • Reports
  • Barracuda WAF-as-a-Service and CloudGen Access
  • Critical Vulnerabilities
  • WaaS API Version 4
  • Traffic Evaluation in Passive Mode
  • Barracuda WAF-as-a-Service Vulnerability Database
  • LLM Security

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    URL Access and Redirects
    Published Nov 11, 2025

    URL Access and Redirects

    Nov 11, 2025
    Subscribe

    URL access and redirect rules enable you to customize access to your web application based on the URL requested. For example, you can configure a rule to control access to certain portions of your application, based on a business requirement – without changing the configuration on the application itself.

    You can configure a rule for a URL match or a Hostname/IP match. If a match is found, the request is processed according to the configured action.

    Steps to Add an URL Rule

    To add an URL rule for an application, do the following:

    1. In the WAF-as-a-Service web interface, click Applications in the left panel.

    2. On the Applications page, click on the application to which you want to add the URL rule.

    3. On the application page, click URL Access and Redirects in the left panel.

    4. On the URL Access and Redirects page, click Add URL Rule.

    5. In the Create Rule window:

      1. Name - Enter a name for URL rule.

      2. Enable Rule - Set to ON to enable the rule.

      3. Host Match - Enter the matching criterion for the host field in the Request Header. This is either a specific host match or a wildcard host match with a single " * " anywhere in the URL. Specify * if you want the Web application hosted on the service. If the application hosts multiple applications under different domains and you wish to add the rule only for a particular domain, enter the relevant host name such as - www.example.com or *.example.com.

      4. URL Match - Enter the matching criterion for the URL field in the Request Header. The URL should start with a "/" and can have only one " * " anywhere in the URL. Use / if you want the rule to cover all URLs in your domain.
        Example:
        /*
        /index.html
        /public/index.html

      5. Extended Match - Enter an expression that consists of a combination of HTTP headers and/or query string parameters. Use '*' to not apply the Extended Match condition.
        This expression is used to match against special attributes in the HTTP headers or query string parameters in the requests. For more information on how to write an extended match expression, refer to the Extended Match and Condition Expression section in the Extended Match Profile article.

        Note: This feature is available only for applications deployed in custom containers. If the extended match expression is stored in your key management system (AWS or HashiCorp Vault), click the key icon and specify the secret path for the extended match expression.

        Note: Extended Match now includes support for IP ranges and CIDR notation. Example: (Client-IP neq 10.0.0.0/24)

      6. Priority - Enter a number to indicate the order in which the extended match rule must be evaluated in the requests.

      7. Action - Select the action to be taken on the request matching this URL rule.

        1. Bypass security: Allow the request without enforcing security checks.

        2. Deny the request: Explicitly deny the request without further processing.

        3. Temporary Redirect/Permanent Redirect: This option informs the browser and search engines about the resource:

          1. Temporary Redirect (Status 302) - Indicates the resource is temporarily located elsewhere. Browsers should continue requesting the original URL.

          2. Permanent Redirect (Status 301) - Indicates the resource has permanently moved. Browsers and search engines should update their records and stop requesting the original URL.

        4. Take no action: This option still enables you to see the rule match in the logs, even though no other action is taken. This can be helpful during policy development, for example, to check that you configured the URL correctly, without any typos, without having to switch the whole service to passive mode.

    6. Click Add.

    Note that your rules can include a maximum of one wildcard (*) character. 

    Redirect Details

    A redirect URL can be either a:

    • fully-qualified URL (http://www.example.com/index.html)

    • full path (like /index.html)

    Optionally, append %s to the end of the URL to redirect to the domain specified, as shown in this example.

    Setup
    • Service: http://www.example.com/index.html

    • Match: /*

    • Redirect URL: http://www.redirectexample.com%s

    How it Works
    • Incoming Request: http://www.example.com/a.html

    • Redirects to: http://www.redirectexample.com/a.html


    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.

    {"serverDuration": 13, "requestCorrelationId": "3c4e6c0e9e044b26bbb85371e65d75cd"}