[mapserver-commits] r9690 - branches/branch-5-4/docs/redirection

svn at osgeo.org svn at osgeo.org
Thu Jan 14 13:16:05 EST 2010


Author: aboudreault
Date: 2010-01-14 13:16:05 -0500 (Thu, 14 Jan 2010)
New Revision: 9690

Added:
   branches/branch-5-4/docs/redirection/mapserver-redirect-trunk.conf
Modified:
   branches/branch-5-4/docs/redirection/mapserver-redirect.conf
Log:
Added redirect-trunk apache config

Added: branches/branch-5-4/docs/redirection/mapserver-redirect-trunk.conf
===================================================================
--- branches/branch-5-4/docs/redirection/mapserver-redirect-trunk.conf	                        (rev 0)
+++ branches/branch-5-4/docs/redirection/mapserver-redirect-trunk.conf	2010-01-14 18:16:05 UTC (rev 9690)
@@ -0,0 +1,18 @@
+
+RewriteEngine On
+RewriteBase /trunk
+
+RewriteRule ^$			 en/	[R=301,L]
+RewriteRule ^([^/]{3,})		 en/$1   [R=301,L]
+#RewriteRule ^de/_static/(.*)   en/_static/$1 [PT]
+
+# mod_expires stuff
+ExpiresByType image/* "modification plus 12 hours"
+ExpiresByType application/javascript "modification plus 12 hours"
+ExpiresByType application/x-javascript "modification plus 12 hours"
+ExpiresByType text/html "modification plus 1 hours"
+
+# deflate html and javascript
+AddOutputFilterByType DEFLATE text/html
+AddOutputFilterByType DEFLATE application/javascript
+AddOutputFilterByType DEFLATE application/x-javascript

Modified: branches/branch-5-4/docs/redirection/mapserver-redirect.conf
===================================================================
--- branches/branch-5-4/docs/redirection/mapserver-redirect.conf	2010-01-14 17:15:54 UTC (rev 9689)
+++ branches/branch-5-4/docs/redirection/mapserver-redirect.conf	2010-01-14 18:16:05 UTC (rev 9690)
@@ -1,6 +1,7 @@
 
 RewriteEngine On
 RewriteBase /
+
 # Redirect home page to keep search engine ranking
 #RewriteRule ^$					http://www.mapserver.org/ [R=301,L]
 RewriteRule ^License				http://www.mapserver.org/copyright.html [R=301,L]



More information about the mapserver-commits mailing list