roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r575985 - /roller/trunk/apps/weblogger/web/WEB-INF/web.xml
Date Sat, 15 Sep 2007 21:23:16 GMT
Author: snoopdave
Date: Sat Sep 15 14:23:16 2007
New Revision: 575985

URL: http://svn.apache.org/viewvc?rev=575985&view=rev
Log:
Commenting out compression filter and move error files under /roller-ui/errors

Modified:
    roller/trunk/apps/weblogger/web/WEB-INF/web.xml

Modified: roller/trunk/apps/weblogger/web/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/web.xml?rev=575985&r1=575984&r2=575985&view=diff
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/web.xml (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/web.xml Sat Sep 15 14:23:16 2007
@@ -49,11 +49,15 @@
         <filter-class>org.apache.roller.weblogger.ui.core.filters.BootstrapFilter</filter-class>
     </filter>
     
+    <!-- 
+    Most app servers support compression, if yours doesn't then use this one,
+    but don't forget to uncomment the mapping below too.
     <filter>
         <filter-name>CompressionFilter</filter-name>
         <filter-class>org.apache.roller.weblogger.ui.core.filters.CompressionFilter</filter-class>
     </filter>
-    
+    -->
+
     <filter>
         <filter-name>RequestMappingFilter</filter-name>
         <filter-class>org.apache.roller.weblogger.ui.rendering.filters.RequestMappingFilter</filter-class>
@@ -156,7 +160,9 @@
         <dispatcher>REQUEST</dispatcher>
     </filter-mapping>
     
-    <!-- Compression Filter -->
+    <!-- 
+    Most app servers support compression, if yours doesn't then use this one,
+    but don't forget to uncomment the filter definition above too.
     <filter-mapping>
         <filter-name>CompressionFilter</filter-name>
         <url-pattern>/roller-ui/rendering/page/*</url-pattern>
@@ -167,6 +173,7 @@
         <url-pattern>/roller-ui/rendering/feed/*</url-pattern>
         <dispatcher>FORWARD</dispatcher>
     </filter-mapping>
+    -->
     
     <!-- Struts2 -->
     <filter-mapping>
@@ -504,12 +511,17 @@
     
     <error-page>
         <exception-type>java.lang.Exception</exception-type>
-        <location>/errors/error.jsp</location>
+        <location>/roller-ui/errors/error.jsp</location>
+    </error-page>
+    
+    <error-page>
+        <error-code>403</error-code>
+        <location>/roller-ui/errors/403.jsp</location>
     </error-page>
     
     <error-page>
         <error-code>404</error-code>
-        <location>/errors/404.jsp</location>
+        <location>/roller-ui/errors/404.jsp</location>
     </error-page>
     
 



Mime
View raw message