Author: woonsan
Date: Wed Sep 30 17:46:35 2009
New Revision: 820364
URL: http://svn.apache.org/viewvc?rev=820364&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=820364&r1=820363&r2=820364&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 17:46:35 2009
@@ -80,6 +80,13 @@
proxy.reverse.pass.portals.local = /portals/
proxy.reverse.pass.portals.remote = http://portals.apache.org/
+proxy.reverse.pass.portals.rewriter.basic =
org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
+proxy.reverse.pass.portals.rewriter.parserAdaptor = html
+# ... SimpleLinkRewritingParserAaptor rewrites links only based on its remote
base URLs,
+# ... while PassMappingLinkRewritingParserAaptor rewrites links based on all
reverse proxy pass mappings.
+#proxy.reverse.pass.portals.rewriter.parserAdaptor.html =
org.apache.portals.applications.webcontent.proxy.impl.SimpleLinkRewritingParserAaptor
+proxy.reverse.pass.portals.rewriter.parserAdaptor.html =
org.apache.portals.applications.webcontent.proxy.impl.PassMappingLinkRewritingParserAaptor
+proxy.reverse.pass.portals.rewriter.parserAdaptor.html.mimeType = text/html
proxy.reverse.pass.localhost.local = /localhost/
proxy.reverse.pass.localhost.remote = http://localhost:8080/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]