All resources All frames

# MirrorFrame

This frameclass allows you to mirror any existing site. It works by using the caching module of Jigsaw and by using a different lookup strategy for the cached resource. It will handle redirections too, so that if the origin server emits a redirection to an URL that it holds, then the mirror resource will rewrite the redirection and hand it out as being the target of the relocation.

Warning: because this resource really does what it claims to do, it should always be used in conjunction with the VirtualHostFrame. As Jigsaw will mirror a given site, it will no longer export the Admin directory, hence were you not to use the virtual host handling the configuration would no longer be accessible.

## Inerits

The MirrorFrame class inerits from the following classes:

- Resource
- FramedResource
- ResourceFrame
- ProtocolFrame
- HTTPFrame
- ForwardFrame

## Attributes description

The MirrorFrame defines the following attributes:

- mirrors

`mirrors`

semantics
  The base URL of the site to mirror. This is typically of the form http://host:port, eg http://www.w3.org.
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to null.

Jigsaw Team
$Id: org.w3c.jigsaw.proxy.MirrorFrame.html,v 1.3 1998/03/27 08:21:03 bmahe Exp $