portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r821940 - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/conf/reverseproxy.properties
Date Mon, 05 Oct 2009 17:55:24 GMT
Author: woonsan
Date: Mon Oct  5 17:55:24 2009
New Revision: 821940

URL: http://svn.apache.org/viewvc?rev=821940&view=rev
Log:
JS2-1071: Applying the recent changes of reverseproxy.properties

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=821940&r1=821939&r2=821940&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
Mon Oct  5 17:55:24 2009
@@ -69,6 +69,10 @@
 # Proxy Pass Reverse Mapping configurations for each category
 # ... Put the path item names here. Each path item will be evaluated by the order. 
 proxy.reverse.pass = apache, localhost, somewhere 
+# ... Set cache count of proxy path mappers which are dynamically created by glob style mappings.
+proxy.reverse.pass.dynamicProxyPathMapperCacheCount = 1000
+# ... Set max matching path part count
+proxy.reverse.pass.maxMatchingPathPartCount = 2
 
 # ... Sets detail attributes for each path item.
 
@@ -76,11 +80,9 @@
 proxy.reverse.pass.apache.remote = http://$1.apache.org/
 proxy.reverse.pass.apache.rewriter.basic = org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
 proxy.reverse.pass.apache.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.apache.rewriter.parserAdaptor.html = org.apache.portals.applications.webcontent.proxy.impl.SimpleLinkRewritingParserAaptor
-proxy.reverse.pass.apache.rewriter.parserAdaptor.html = org.apache.portals.applications.webcontent.proxy.impl.PassMappingLinkRewritingParserAaptor
+proxy.reverse.pass.apache.rewriter.parserAdaptor.html = org.apache.portals.applications.webcontent.proxy.impl.DefaultReverseProxyLinkRewritingParserAaptor
 proxy.reverse.pass.apache.rewriter.parserAdaptor.html.mimeType = text/html
+proxy.reverse.pass.apache.rewriter.parserAdaptor.html.property.lookUpAllMappings = true
 
 proxy.reverse.pass.localhost.local = /localhost/
 proxy.reverse.pass.localhost.remote = http://localhost:8080/
@@ -98,3 +100,5 @@
 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
+proxy.reverse.pass.somewhere.request.header.Accept-Language = en
+proxy.reverse.pass.somewhere.request.header.X-Custom-Header = A custom value



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message