[mapserver-commits] r9037 - in trunk/docs: de/redirection en/redirection

svn at osgeo.org svn at osgeo.org
Wed May 20 16:58:15 EDT 2009


Author: gislars
Date: 2009-05-20 16:58:15 -0400 (Wed, 20 May 2009)
New Revision: 9037

Modified:
   trunk/docs/de/redirection/mapserver-redirect.conf
   trunk/docs/en/redirection/mapserver-redirect.conf
Log:
added rewrite rules to reflect the new directory structure


Modified: trunk/docs/de/redirection/mapserver-redirect.conf
===================================================================
--- trunk/docs/de/redirection/mapserver-redirect.conf	2009-05-20 20:51:53 UTC (rev 9036)
+++ trunk/docs/de/redirection/mapserver-redirect.conf	2009-05-20 20:58:15 UTC (rev 9037)
@@ -65,6 +65,16 @@
 RewriteRule ^download/current http://www.mapserver.org/download.html [R=301,L]
 RewriteRule ^download/current/windows http://www.mapserver.org/download#id3 [R=301,L]
 
+## The following rules should handle the new structure of the docs
+## the current URLs for the English docs stay the same, while alle other
+## languages are served from sub-directories (de/, fr/ ...)
+
+# Rules to handle multi lingual docs
+#RewriteCond $1 !^en/
+# we rewrite only the "English-URLs", please add more here when they are available
+#RewriteCond $1 !^(_static|de)/
+#RewriteRule (.*) /en/$1 [L]
+
 # mod_expires stuff
 ExpiresByType image/* "modification plus 12 hours"
 ExpiresByType application/javascript "modification plus 12 hours"

Modified: trunk/docs/en/redirection/mapserver-redirect.conf
===================================================================
--- trunk/docs/en/redirection/mapserver-redirect.conf	2009-05-20 20:51:53 UTC (rev 9036)
+++ trunk/docs/en/redirection/mapserver-redirect.conf	2009-05-20 20:58:15 UTC (rev 9037)
@@ -65,6 +65,16 @@
 RewriteRule ^download/current http://www.mapserver.org/download.html [R=301,L]
 RewriteRule ^download/current/windows http://www.mapserver.org/download#id3 [R=301,L]
 
+## The following rules should handle the new structure of the docs
+## the current URLs for the English docs stay the same, while alle other
+## languages are served from sub-directories (de/, fr/ ...)
+
+# Rules to handle multi lingual docs
+#RewriteCond $1 !^en/
+# we rewrite only the "English-URLs", please add more here when they are available
+#RewriteCond $1 !^(_static|de)/
+#RewriteRule (.*) /en/$1 [L]
+
 # mod_expires stuff
 ExpiresByType image/* "modification plus 12 hours"
 ExpiresByType application/javascript "modification plus 12 hours"



More information about the mapserver-commits mailing list