portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r1649241 - in /portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF: portlet.xml rproxy-mappings.yaml web.xml
Date Sat, 03 Jan 2015 20:07:50 GMT
Author: woonsan
Date: Sat Jan  3 20:07:50 2015
New Revision: 1649241

URL: http://svn.apache.org/r1649241
Log:
use scheme-less URIs for reverse proxy localhost examples

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/portlet.xml
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/rproxy-mappings.yaml
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/portlet.xml?rev=1649241&r1=1649240&r2=1649241&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/portlet.xml (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/portlet.xml Sat
Jan  3 20:07:50 2015
@@ -1555,11 +1555,11 @@
       </preference>
       <preference>
         <name>SRC</name>
-        <value>http://localhost:${serverPort}${contextPath}/examples/basicauth.jsp</value>
+        <value>//localhost:${serverPort}${contextPath}/examples/basicauth.jsp</value>
       </preference>
       <preference>
         <name>PROXYREMOTEURL</name>
-        <value>http://localhost:${serverPort}/</value>
+        <value>//localhost:${serverPort}/</value>
       </preference>
       <preference>
         <name>PROXYLOCALPATH</name>
@@ -1652,11 +1652,11 @@
       </preference>
       <preference>
         <name>SRC</name>
-        <value>http://localhost:${serverPort}${contextPath}/examples/formauth.jsp</value>
+        <value>//localhost:${serverPort}${contextPath}/examples/formauth.jsp</value>
       </preference>
       <preference>
         <name>PROXYREMOTEURL</name>
-        <value>http://localhost:${serverPort}/</value>
+        <value>//localhost:${serverPort}/</value>
       </preference>
       <preference>
         <name>PROXYLOCALPATH</name>

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/rproxy-mappings.yaml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/rproxy-mappings.yaml?rev=1649241&r1=1649240&r2=1649241&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/rproxy-mappings.yaml
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/rproxy-mappings.yaml
Sat Jan  3 20:07:50 2015
@@ -15,8 +15,8 @@
 
 --- !regex
 localPattern: ^/localhost_(\d+)/(.*)$
-remoteReplace: http://localhost:$1/$2
-remotePattern: ^http://localhost:(\d+)/(.*)$
+remoteReplace: //localhost:$1/$2
+remotePattern: ^https?://localhost:(\d+)/(.*)$
 localReplace: /localhost_$1/$2
 contentRewriters:
     text/html: !!org.apache.portals.applications.webcontent2.proxy.rewriter.DefaultReverseProxyTextLineContentRewriter
[]

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml?rev=1649241&r1=1649240&r2=1649241&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml Sat Jan
 3 20:07:50 2015
@@ -215,6 +215,10 @@
         /WEB-INF/rproxy-mappings.yaml
       </param-value>
     </init-param>
+    <init-param>
+      <param-name>ssl-hostname-verifier</param-name>
+      <param-value>ALLOW_ALL_HOSTNAME_VERIFIER</param-value>
+    </init-param>
   </servlet>
 
   <!-- Define Velocity Servlet -->



---------------------------------------------------------------------
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