The SiteContextPipelineServlet prevents an infinite loop of redirects by allowing only one redirect per request. On the first redirect, the pipeline servlet appends a parameter to the redirect URL. A request with this parameter cannot be redirected again; instead, it returns with a 404 error.

For example, the site repository might provide the following redirect settings for sites Jasper and Felix:

Jasper is disabled, so the SiteContextPipelineServlet redirects requests to Felix. Felix is inactive, but instead of forwarding the request to sites Casper or Astro, the SiteContextPipelineServlet aborts the request and returns a 404 error.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices