Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 81407 invoked from network); 30 Sep 2009 08:57:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Sep 2009 08:57:52 -0000 Received: (qmail 94169 invoked by uid 500); 30 Sep 2009 08:57:51 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 94113 invoked by uid 500); 30 Sep 2009 08:57:51 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 94103 invoked by uid 99); 30 Sep 2009 08:57:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 08:57:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 08:57:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8A49623888D7; Wed, 30 Sep 2009 08:57:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r820218 - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/conf/reverseproxy.properties Date: Wed, 30 Sep 2009 08:57:19 -0000 To: jetspeed-dev@portals.apache.org From: woonsan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090930085719.8A49623888D7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org