<html> <head> <title>Sample Page For Rewrite Test</title> </head> <body> <script> var some_val = false; if (some_val) { window.location = "http:\/\/example.com/dynamic_page.html"; } </script> Test Content <a href="/some/path/another.html">Some Link</a> </body>