You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/11/04 01:52:41 UTC
svn commit: r1712449 - /cordova/site/public/.htaccess
Author: dblotsky
Date: Wed Nov 4 00:52:40 2015
New Revision: 1712449
URL: http://svn.apache.org/viewvc?rev=1712449&view=rev
Log:
Making redirect the last rule in .htaccess.
Modified:
cordova/site/public/.htaccess
Modified: cordova/site/public/.htaccess
URL: http://svn.apache.org/viewvc/cordova/site/public/.htaccess?rev=1712449&r1=1712448&r2=1712449&view=diff
==============================================================================
--- cordova/site/public/.htaccess (original)
+++ cordova/site/public/.htaccess Wed Nov 4 00:52:40 2015
@@ -23,7 +23,7 @@ RewriteEngine on
# NOTE:
# these can both apply, turning "/docs" into "/docs/en/latest/"
RewriteRule ^.*docs/$ /docs/en/
-RewriteRule ^.*docs/(\w\w)/$ /docs/$1/latest/ [R=302]
+RewriteRule ^.*docs/(\w\w)/$ /docs/$1/latest/ [R=302,L]
# rewrite only:
# /docs/XX/latest/* -> /docs/XX/Y.Y.Y/*
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org