Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / jigsaw / WWW / Doc / Reference / org.w3c.jigsaw.proxy.MirrorFrame.html
diff --git a/JMCR-Stable/real-world application/jigsaw/WWW/Doc/Reference/org.w3c.jigsaw.proxy.MirrorFrame.html b/JMCR-Stable/real-world application/jigsaw/WWW/Doc/Reference/org.w3c.jigsaw.proxy.MirrorFrame.html
new file mode 100644 (file)
index 0000000..a057e5d
--- /dev/null
@@ -0,0 +1,97 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\r
+<HTML>\r
+<HEAD>\r
+  <link rel="stylesheet" type="text/css" href="../style/doc.css"><style type="text/css">\r
+body { margin: 20pt; color: black; background: white; font-family: helvetica;} \r
+</STYLE>\r
+  <TITLE>The MirrorFrame reference manual</TITLE>\r
+  <LINK HREF="jigsaw@w3.org" REL="made">\r
+</HEAD>\r
+<BODY>\r
+<P>\r
+<A HREF="../../.." TARGET="_top_"><IMG SRC="../../../Icons//WWW/w3c_home.gif"\r
+    ALT="W3C" BORDER="0" WIDTH="72" HEIGHT="48">\r
+</A><A HREF="../../" TARGET="_top_">\r
+<IMG SRC="../../../Icons//jigsaw" ALT="Jigsaw"BORDER="0"></A>\r
+  <hr noshade size="1">\r
+<A HREF="resources.html">All resources</A> <A HREF="frames.html">All frames\r
+</A> \r
+  <hr noshade size="1">\r
+<H1>\r
+  MirrorFrame\r
+</H1>\r
+<P>\r
+This frameclass allows you to mirror any existing site. It works by using\r
+the caching module of Jigsaw and by using a different lookup strategy for\r
+the cached resource. It will handle redirections too, so that if the origin\r
+server emits a redirection to an URL that it holds, then the mirror resource\r
+will rewrite the redirection and hand it out as being the target of the\r
+relocation. \r
+<P>\r
+<B>Warning</B>: because this resource really does what it claims to do, it\r
+should always be used in conjunction with the\r
+<A HREF="org.w3c.jigsaw.frames.VirtualHostFrame.html">VirtualHostFrame</A>.\r
+As <B>Jigsaw</B> will mirror a given site, it will no longer export the Admin\r
+directory, hence were you not to use the virtual host handling the configuration\r
+would no longer be accessible. \r
+<P>\r
+  <hr noshade size="1">\r
+<H2>\r
+  Inherits\r
+</H2>\r
+<P>\r
+The\r
+<A HREF="http://jigsaw.w3.org/Doc/Programmer/api/org/w3c/jigsaw/proxy/MirrorFrame.html">MirrorFrame</A>\r
+class inerits from the following classes:\r
+<UL>\r
+  <LI>\r
+    <A HREF="org.w3c.tools.resources.Resource.html">Resource</A>\r
+  <LI>\r
+    <A HREF="org.w3c.tools.resources.FramedResource.html">FramedResource</A>\r
+  <LI>\r
+    <A HREF="org.w3c.tools.resources.ResourceFrame.html">ResourceFrame</A>\r
+  <LI>\r
+    <A HREF="org.w3c.tools.resources.ProtocolFrame.html">ProtocolFrame</A>\r
+  <LI>\r
+    <A HREF="org.w3c.jigsaw.frames.HTTPFrame.html">HTTPFrame</A>\r
+  <LI>\r
+    <A HREF="org.w3c.jigsaw.proxy.ForwardFrame.html">ForwardFrame</A>\r
+</UL>\r
+<P>\r
+  <hr noshade size="1">\r
+<H2>\r
+  Attributes description\r
+</H2>\r
+<P>\r
+The MirrorFrame defines the following attributes:\r
+<UL>\r
+  <LI>\r
+    <A HREF="#mirrors">mirrors</A>\r
+</UL>\r
+<P>\r
+  <hr noshade size="1">\r
+<CODE><A NAME="mirrors">mirrors</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    The base URL of the site to mirror. This is typically of the form\r
+    <B>http://host:port</B>, eg http://www.w3.org. \r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is an editable\r
+    <A HREF="http://jigsaw.w3.org/Doc/Programmer/api/org/w3c/tools/resources/StringAttribute.html">StringAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute defaults to <B>null</B>.\r
+</DL>\r
+<P>\r
+<P>\r
+  <hr noshade size="1">\r
+<P>\r
+<I><A HREF="mailto:jigsaw@w3.org">Jigsaw Team</A><BR>\r
+$Id: org.w3c.jigsaw.proxy.MirrorFrame.html,v 1.3 1998/03/27 08:21:03 bmahe\r
+Exp $</I>\r
+</BODY></HTML>\r