Author: mposolda
Date: 2012-01-30 06:10:25 -0500 (Mon, 30 Jan 2012)
New Revision: 8321
Modified:
portal/trunk/packaging/jboss-as6/pkg/src/main/resources/jboss/server/default/conf/gatein/controller.xml
Log:
GTNPORTAL-2338 Images should not be processed by PortalRequstHandler
Modified:
portal/trunk/packaging/jboss-as6/pkg/src/main/resources/jboss/server/default/conf/gatein/controller.xml
===================================================================
---
portal/trunk/packaging/jboss-as6/pkg/src/main/resources/jboss/server/default/conf/gatein/controller.xml 2012-01-30
11:08:10 UTC (rev 8320)
+++
portal/trunk/packaging/jboss-as6/pkg/src/main/resources/jboss/server/default/conf/gatein/controller.xml 2012-01-30
11:10:25 UTC (rev 8321)
@@ -67,6 +67,16 @@
</route>
</route>
+ <!-- Static resource handler needs to be before the portal handler -->
+ <route path="/{gtn:path}">
+ <route-param qname="gtn:handler">
+ <value>staticResource</value>
+ </route-param>
+ <path-param qname="gtn:path" encoding="preserve-path">
+ <pattern>.*\.(jpg|png|gif|ico|css)</pattern>
+ </path-param>
+ </route>
+
<route path="/">
<!-- The portal handler -->
@@ -115,20 +125,10 @@
</route>
- <route path="/{gtn:path}">
- <route-param qname="gtn:handler">
- <value>staticResource</value>
- </route-param>
- <path-param qname="gtn:path" encoding="preserve-path">
- <pattern>.*\.(jpg|png|gif|ico|css)</pattern>
- </path-param>
- </route>
-
<!-- Default handler -->
<route path="/">
<route-param qname="gtn:handler">
<value>default</value>
</route-param>
- </route>
-
+ </route>
</controller>
Show replies by date