Author: woonsan
Date: Wed Sep 30 08:57:53 2009
New Revision: 820219

URL: http://svn.apache.org/viewvc?rev=820219&view=rev
Log:
JS2-1071: rewriter configuration updates.

Modified:
    portals/site/applications/src/site/xdoc/webcontent/index.xml

Modified: portals/site/applications/src/site/xdoc/webcontent/index.xml
URL: 
http://svn.apache.org/viewvc/portals/site/applications/src/site/xdoc/webcontent/index.xml?rev=820219&r1=820218&r2=820219&view=diff
==============================================================================
--- portals/site/applications/src/site/xdoc/webcontent/index.xml (original)
+++ portals/site/applications/src/site/xdoc/webcontent/index.xml Wed Sep 30 
08:57:53 2009
@@ -414,10 +414,8 @@
             Note: The previously defined property variables are automatically 
expanded when the configuration has
                   the variable references wrapped by '${property.name}' like 
the following example:
             <source><![CDATA[
-defaults.htmlRewriter = examples.WebContentRewriter
-defaults.xmlRewriter = examples.WebContentRewriter
-# The following will be expanded to 'examples.WebContentRewriter, 
examples.WebContentRewriter'.
-proxy.reverse.pass.somewhere.rewriters = ${defaults.htmlRewriter}, 
${defaults.xmlRewriter} 
+defaults.parserAdaptor.html = 
org.apache.portals.applications.webcontent.rewriter.html.neko.NekoParserAdaptor
+proxy.reverse.pass.somewhere.rewriter.parserAdaptor.html = 
${defaults.parserAdaptor.html}
             ]]></source>
           </em>
           <table>
@@ -434,6 +432,15 @@
               <td>Flag whether the internal http client object should allow 
circular redirects.</td>
             </tr>
             <tr>
+              <td>proxy.http.client.param.cookiePolicy</td>
+              <td>best-match</td>
+              <td>netscape</td>
+              <td>
+                Flag whether the internal http client object should allow 
circular redirects.
+                Please see the documentation of httpclient 4.x on cookie 
policies.
+              </td>
+            </tr>
+            <tr>
               <td>proxy.http.connManager.param.maxTotalConnections</td>
               <td>2</td>
               <td>200</td>
@@ -645,48 +652,100 @@
               </td>
             </tr>
             <tr>
-              <td>proxy.reverse.pass.&lt;pathname&gt;.rewriters</td>
+              <td>proxy.reverse.pass.&lt;pathname&gt;.rewriter.basic</td>
               <td></td>
               <td>
-                org.apache.portals.applications. webcontent.rewriter. 
WebContentRewriter,
                 org.apache.portals.applications. webcontent.rewriter. 
WebContentRewriter
               </td>
               <td>
                 &lt;pathname&gt; should be replaced by the real path name.
                 With this example, you may use 'apache' or 'portals' for 
&lt;pathname&gt;.
                 <br/>
-                Content rewriter class names for text/html type and text/xml 
type.
+                The basic content rewriter class name.
               </td>
             </tr>
             <tr>
-              <td>proxy.reverse.pass.&lt;pathname&gt;.adaptors</td>
+              <td>proxy.reverse.pass.&lt;pathname&gt;.rewriter.rulebased</td>
               <td></td>
               <td>
-                org.apache.portals.applications. 
webcontent.rewriter.html.neko. NekoParserAdaptor,
-                org.apache.portals.applications. webcontent.rewriter.xml. 
SaxParserAdaptor
+                org.apache.portals.applications. webcontent.rewriter. 
WebContentRewriter
               </td>
               <td>
                 &lt;pathname&gt; should be replaced by the real path name.
                 With this example, you may use 'apache' or 'portals' for 
&lt;pathname&gt;.
                 <br/>
-                Content parser adaptor class names for text/html type and 
text/xml type.
+                The rule-based content rewriter class name.
               </td>
             </tr>
             <tr>
-              <td>proxy.reverse.pass.&lt;pathname&gt;.rules</td>
+              
<td>proxy.reverse.pass.&lt;pathname&gt;.rewriter.parserAdaptor</td>
               <td></td>
               <td>
-                /WEB-INF/conf/rewriter-rules-mapping.xml,
-                /WEB-INF/conf/default-rewriter-rules.xml
+                html, xml
               </td>
               <td>
                 &lt;pathname&gt; should be replaced by the real path name.
                 With this example, you may use 'apache' or 'portals' for 
&lt;pathname&gt;.
                 <br/>
-                The rewriting rule mapping configuration and
+                The comma delimited parser adaptor names. Each parser adaptor 
name should be used
+                in the following configuration properties to set detailed 
parser adaptor properties.
+              </td>
+            </tr>
+            <tr>
+              
<td>proxy.reverse.pass.&lt;pathname&gt;.rewriter.parserAdaptor.&lt;parserAdaptorName&gt;</td>
+              <td></td>
+              <td>
+                org.apache.portals.applications .webcontent.rewriter.html.neko 
.NekoParserAdaptor
+              </td>
+              <td>
+                &lt;pathname&gt; and &lt;parserAdaptorName&gt; should be 
replaced by the real path name.
+                With this example, you may use 'apache' or 'portals' for 
&lt;pathname&gt;
+                and you may use 'html' or 'xml' for &lt;parserAdaptorName&gt;.
+                <br/>
+                The parser adaptor class name.
+              </td>
+            </tr>
+            <tr>
+              
<td>proxy.reverse.pass.&lt;pathname&gt;.rewriter.parserAdaptor.&lt;parserAdaptorName&gt;.mimeType</td>
+              <td></td>
+              <td>
+                text/html
+              </td>
+              <td>
+                &lt;pathname&gt; and &lt;parserAdaptorName&gt; should be 
replaced by the real path name.
+                With this example, you may use 'apache' or 'portals' for 
&lt;pathname&gt;
+                and you may use 'html' or 'xml' for &lt;parserAdaptorName&gt;.
+                <br/>
+                The mime type which this parser adaptor concerns.
+              </td>
+            </tr>
+            <tr>
+              
<td>proxy.reverse.pass.&lt;pathname&gt;.rewriter.ruleMappings</td>
+              <td></td>
+              <td>
+                /WEB-INF/conf/rewriter-rules-mapping.xml
+              </td>
+              <td>
+                &lt;pathname&gt; should be replaced by the real path name.
+                With this example, you may use 'apache' or 'portals' for 
&lt;pathname&gt;.
+                <br/>
+                The rewriting rule mappings configuration and
                 rewriter rule definition.
               </td>
             </tr>
+            <tr>
+              <td>proxy.reverse.pass.&lt;pathname&gt;.rewriter.rules</td>
+              <td></td>
+              <td>
+                /WEB-INF/conf/default-rewriter-rules.xml
+              </td>
+              <td>
+                &lt;pathname&gt; should be replaced by the real path name.
+                With this example, you may use 'apache' or 'portals' for 
&lt;pathname&gt;.
+                <br/>
+                The rewriter rules definition.
+              </td>
+            </tr>
           </table>
         </p>
       </subsection>


Reply via email to