Author: woonsan
Date: Tue Sep 15 15:42:27 2009
New Revision: 815371
URL: http://svn.apache.org/viewvc?rev=815371&view=rev
Log:
JS2-1063: Configuring apache and portals sites for reverse proxy pipeline and
changing the apa-webcontent dependency to 1.1-SNAPSHOT.
Modified:
portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/webcontent-proxy.xml
portals/jetspeed-2/portal/trunk/pom.xml
Modified:
portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/webcontent-proxy.xml
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/webcontent-proxy.xml?rev=815371&r1=815370&r2=815371&view=diff
==============================================================================
---
portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/webcontent-proxy.xml
(original)
+++
portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/webcontent-proxy.xml
Tue Sep 15 15:42:27 2009
@@ -21,19 +21,8 @@
<bean id="reverseProxyPathMapperProvider"
class="org.apache.jetspeed.proxy.impl.DefaultHttpReverseProxyPathMapperProviderImpl">
<constructor-arg index="0">
<list>
- <bean
class="org.apache.jetspeed.proxy.impl.DefaultHttpProxyPathMapperImpl">
- <meta key="j2:cat" value="default" />
- <constructor-arg index="0">
- <value>/portals.apache.org/jetspeed-2</value>
- </constructor-arg>
- <constructor-arg index="1">
- <value>http://portals.apache.org/jetspeed-2</value>
- </constructor-arg>
- <constructor-arg index="2">
- <null/>
- </constructor-arg>
- </bean>
<!--
+
WARNING!
It could be very dangerous in perspective of security to allow
retrieving remote web content
@@ -43,21 +32,34 @@
Use of any web content with this reverse-proxy components is on your
own responsibility.
You have been warned.
+
-->
- <!--
+ <!-- Reverse proxy setting for www.apache.org -->
<bean
class="org.apache.jetspeed.proxy.impl.DefaultHttpProxyPathMapperImpl">
<meta key="j2:cat" value="default" />
<constructor-arg index="0">
- <value>/www.gmodules.com</value>
+ <value>/apache/</value>
</constructor-arg>
<constructor-arg index="1">
- <value>http://www.gmodules.com</value>
+ <value>http://www.apache.org/</value>
+ </constructor-arg>
+ <constructor-arg index="2">
+ <null/>
+ </constructor-arg>
+ </bean>
+ <!-- Reverse proxy setting for portals.apache.org -->
+ <bean
class="org.apache.jetspeed.proxy.impl.DefaultHttpProxyPathMapperImpl">
+ <meta key="j2:cat" value="default" />
+ <constructor-arg index="0">
+ <value>/portals/</value>
+ </constructor-arg>
+ <constructor-arg index="1">
+ <value>http://portals.apache.org/</value>
</constructor-arg>
<constructor-arg index="2">
<null/>
</constructor-arg>
</bean>
- -->
</list>
</constructor-arg>
</bean>
Modified: portals/jetspeed-2/portal/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/pom.xml?rev=815371&r1=815370&r2=815371&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/pom.xml (original)
+++ portals/jetspeed-2/portal/trunk/pom.xml Tue Sep 15 15:42:27 2009
@@ -287,7 +287,7 @@
<org.apache.portals.applications.apa-gems.version>1.0</org.apache.portals.applications.apa-gems.version>
<org.apache.portals.applications.apa-logging.version>1.0</org.apache.portals.applications.apa-logging.version>
<org.apache.portals.applications.apa-rss.version>1.0</org.apache.portals.applications.apa-rss.version>
-
<org.apache.portals.applications.apa-webcontent.version>1.0</org.apache.portals.applications.apa-webcontent.version>
+
<org.apache.portals.applications.apa-webcontent.version>1.1-SNAPSHOT</org.apache.portals.applications.apa-webcontent.version>
<org.apache.portals.applications.apa-dbbrowser.version>1.0</org.apache.portals.applications.apa-dbbrowser.version>
<oro.version>2.0.8</oro.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]