Author: woonsan
Date: Wed Sep 30 08:57:19 2009
New Revision: 820218

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

Modified:
    
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/conf/reverseproxy.properties

Modified: 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/conf/reverseproxy.properties
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/conf/reverseproxy.properties?rev=820218&r1=820217&r2=820218&view=diff
==============================================================================
--- 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/conf/reverseproxy.properties
 (original)
+++ 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/conf/reverseproxy.properties
 Wed Sep 30 08:57:19 2009
@@ -20,15 +20,6 @@
 #
 # ------------------------------------------------------------------------
 
-# Constant properties
-# ... Constant properties can be used in other property values by wrapping 
'${}'.
-defaults.htmlRewriter = 
org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
-defaults.xmlRewriter = 
org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
-defaults.htmlAdaptor = 
org.apache.portals.applications.webcontent.rewriter.html.neko.NekoParserAdaptor
-defaults.xmlAdaptor = 
org.apache.portals.applications.webcontent.rewriter.xml.SaxParserAdaptor
-defaults.ruleMappings = /WEB-INF/conf/rewriter-rules-mapping.xml
-defaults.rewriterRules = /WEB-INF/conf/default-rewriter-rules.xml
-
 # Proxy Host Configurations
 # ... Set the following when you want to force HOST header value forcefully.
 #proxy.server.hostname = www.localhost.com
@@ -96,6 +87,13 @@
 # ... 'somewhere' is just an example to show the full configurable items...
 proxy.reverse.pass.somewhere.local = /somewhere/
 proxy.reverse.pass.somewhere.remote = http://somewhere.localhost.com/
-proxy.reverse.pass.somewhere.rewriters = ${defaults.htmlRewriter}, 
${defaults.xmlRewriter} 
-proxy.reverse.pass.somewhere.adaptors = ${defaults.htmlAdaptor}, 
${defaults.xmlAdaptor}
-proxy.reverse.pass.somewhere.rules = ${defaults.ruleMappings}, 
${defaults.rewriterRules}
+# ... rewriter configuration for this pass mapping on html and xml types.
+proxy.reverse.pass.somewhere.rewriter.basic = 
org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
+proxy.reverse.pass.somewhere.rewriter.rulebased = 
org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
+proxy.reverse.pass.somewhere.rewriter.parserAdaptor = html, xml
+proxy.reverse.pass.somewhere.rewriter.parserAdaptor.html = 
org.apache.portals.applications.webcontent.rewriter.html.neko.NekoParserAdaptor
+proxy.reverse.pass.somewhere.rewriter.parserAdaptor.html.mimeType = text/html
+proxy.reverse.pass.somewhere.rewriter.parserAdaptor.xml = 
org.apache.portals.applications.webcontent.rewriter.xml.SaxParserAdaptor
+proxy.reverse.pass.somewhere.rewriter.parserAdaptor.xml.mimeType = text/xml
+proxy.reverse.pass.somewhere.rewriter.ruleMappings = 
/WEB-INF/conf/rewriter-rules-mapping.xml
+proxy.reverse.pass.somewhere.rewriter.rules = 
/WEB-INF/conf/default-rewriter-rules.xml



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to