The browser appears to cache and reuse redirects

Solution Verified - Updated -

Issue

  • The browser appears to cache and reuse redirects rather than going back through the rewrite conditions and rules on the web server layer:
    RewriteCond ...
    RewriteRule ^/$  http://host/redirect [R=301,L]
    

    This leads to the repeated requests being redirect automatically when they shouldn't be.

Environment

  • JBoss Enterprise Web Server (EWS)
    • Apache httpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content