Author: woonsan
Date: Wed Oct 7 09:48:35 2009
New Revision: 822637
URL: http://svn.apache.org/viewvc?rev=822637&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=822637&r1=822636&r2=822637&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 Oct 7 09:48:35 2009
@@ -43,15 +43,16 @@
# HTTP Connection parameters per route.
# ... If you don't specify here for a route, then the default values are
applied.
# ... Put the route item names here.
-proxy.http.route = apache, somewhere
proxy.http.route.param.defaultMaxPerRoute = 20
-# ... Sets detail attirbutes for each route item.
-
+# ... Sets detail attirbutes for apache route
+proxy.http.route = apache
proxy.http.route.apache.target.hostname = www.apache.org
proxy.http.route.apache.maxConnections = 40
# ... 'somewhere' is just an example to show the full configurable items...
+# ... Sets detail attirbutes for 'somewhere' route
+proxy.http.route = somewhere
proxy.http.route.somewhere.target.hostname = somewhere.localhost.com
proxy.http.route.somewhere.target.port = 8080
proxy.http.route.somewhere.maxConnections = 5
@@ -74,8 +75,8 @@
# ... Set max matching path part count
proxy.reverse.pass.maxMatchingPathPartCount = 2
-# ... Sets detail attributes for each path item.
-
+# ... Sets detail attributes for apache path mapping
+proxy.reverse.pass = apache
proxy.reverse.pass.apache.local = /apache/
proxy.reverse.pass.apache.remote = http://apache.org/
proxy.reverse.pass.apache.rewriter.basic =
org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
@@ -84,6 +85,8 @@
proxy.reverse.pass.apache.rewriter.parserAdaptor.html.mimeType = text/html
proxy.reverse.pass.apache.rewriter.parserAdaptor.html.property.lookUpAllMappings
= true
+# ... Sets detail attributes for glob-based apache path mapping
+proxy.reverse.pass = all_apache
proxy.reverse.pass.all_apache.local = /*_apache/
proxy.reverse.pass.all_apache.remote = http://$1.apache.org/
proxy.reverse.pass.all_apache.rewriter.basic =
org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
@@ -92,6 +95,8 @@
proxy.reverse.pass.all_apache.rewriter.parserAdaptor.html.mimeType = text/html
proxy.reverse.pass.all_apache.rewriter.parserAdaptor.html.property.lookUpAllMappings
= true
+# ... Sets detail attributes for secure apache path mapping
+proxy.reverse.pass = secure_apache
proxy.reverse.pass.secure_apache.local = /secure/apache/
proxy.reverse.pass.secure_apache.remote = https://apache.org/
proxy.reverse.pass.secure_apache.rewriter.basic =
org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
@@ -100,6 +105,8 @@
proxy.reverse.pass.secure_apache.rewriter.parserAdaptor.html.mimeType =
text/html
proxy.reverse.pass.secure_apache.rewriter.parserAdaptor.html.property.lookUpAllMappings
= true
+# ... Sets detail attributes for glob-based secure apache path mapping
+proxy.reverse.pass = all_secure_apache
proxy.reverse.pass.all_secure_apache.local = /secure/*_apache/
proxy.reverse.pass.all_secure_apache.remote = https://$1.apache.org/
proxy.reverse.pass.all_secure_apache.rewriter.basic =
org.apache.portals.applications.webcontent.rewriter.WebContentRewriter
@@ -108,10 +115,14 @@
proxy.reverse.pass.all_secure_apache.rewriter.parserAdaptor.html.mimeType =
text/html
proxy.reverse.pass.all_secure_apache.rewriter.parserAdaptor.html.property.lookUpAllMappings
= true
-proxy.reverse.pass.localhost.local = /localhost/
-proxy.reverse.pass.localhost.remote = http://localhost:8080/
+# ... Sets detail attributes for localhost path mapping
+proxy.reverse.pass = localhost
+proxy.reverse.pass.localhost.local = /localhost_*/
+proxy.reverse.pass.localhost.remote = http://localhost:$1/
+# ... Sets detail attributes for apache path mapping
# ... 'somewhere' is just an example to show the full configurable items...
+proxy.reverse.pass = somewhere
proxy.reverse.pass.somewhere.local = /somewhere/
proxy.reverse.pass.somewhere.remote = http://somewhere.localhost.com/
# ... rewriter configuration for this pass mapping on html and xml types.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]