Author: woonsan
Date: Sat Jan 3 21:06:11 2015
New Revision: 1649250
URL: http://svn.apache.org/r1649250
Log:
APA-71: simplify example
Modified:
portals/applications/webcontent/trunk/reverse-proxy/src/test/webapp/WEB-INF/rproxy-mappings.yaml
Modified:
portals/applications/webcontent/trunk/reverse-proxy/src/test/webapp/WEB-INF/rproxy-mappings.yaml
URL:
http://svn.apache.org/viewvc/portals/applications/webcontent/trunk/reverse-proxy/src/test/webapp/WEB-INF/rproxy-mappings.yaml?rev=1649250&r1=1649249&r2=1649250&view=diff
==============================================================================
---
portals/applications/webcontent/trunk/reverse-proxy/src/test/webapp/WEB-INF/rproxy-mappings.yaml
(original)
+++
portals/applications/webcontent/trunk/reverse-proxy/src/test/webapp/WEB-INF/rproxy-mappings.yaml
Sat Jan 3 21:06:11 2015
@@ -21,7 +21,7 @@ contentRewriters:
--- !simple
local: /portals/bridges/
-remote: //portals.apache.org/bridges/
+remote: http://portals.apache.org/bridges/
contentRewriters:
text/html:
!!org.apache.portals.applications.webcontent2.proxy.rewriter.DefaultReverseProxyTextLineContentRewriter
[]
@@ -33,8 +33,8 @@ contentRewriters:
--- !regex
localPattern: ^/apache/(\w+)/(.*)$
-remoteReplace: //$1.apache.org/$2
-remotePattern: ^https?://(\w+)\.apache\.org/(.*)$
+remoteReplace: http://$1.apache.org/$2
+remotePattern: ^http://(\w+)\.apache\.org/(.*)$
localReplace: /apache/$1/$2
contentRewriters:
text/html:
!!org.apache.portals.applications.webcontent2.proxy.rewriter.DefaultReverseProxyTextLineContentRewriter
[]