W3C Jigsaw


All Resources All filters

MirrorDirectory

This resource class 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 VirtualHostResource. 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.


Inherits

The MirrorDirectory class inherits from the following classes:


Attributes description

The MirrorDirectory defines the following attributes:


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 a computed StringAttribute
default value
This attribute has no default value, but is madatory for the mirroring to take place.


Jigsaw Team
$Id: w3c.jigsaw.proxy.MirrorDirectory.html,v 1.1 1996/09/25 14:23:12 abaird Exp $