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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.