You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by kn...@apache.org on 2018/06/15 17:19:35 UTC

svn commit: r1833614 - /pig/site/publish/.htaccess

Author: knoguchi
Date: Fri Jun 15 17:19:35 2018
New Revision: 1833614

URL: http://svn.apache.org/viewvc?rev=1833614&view=rev
Log:
PIG-5336: adjusting .htaccess 

Modified:
    pig/site/publish/.htaccess

Modified: pig/site/publish/.htaccess
URL: http://svn.apache.org/viewvc/pig/site/publish/.htaccess?rev=1833614&r1=1833613&r2=1833614&view=diff
==============================================================================
--- pig/site/publish/.htaccess (original)
+++ pig/site/publish/.htaccess Fri Jun 15 17:19:35 2018
@@ -2,5 +2,5 @@ RewriteEngine On
 RewriteBase /
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
-RewriteCond %{REQUEST_URI} /docs/r[0-9].+
-RewriteRule (.+)/docs/(r[0-9.]+)(.*) $1/docs/latest$3 [L,R=301]
+RewriteCond %{REQUEST_URI} docs/r[0-9\.]+
+RewriteRule ^docs/(r[0-9\.]+)(.*) docs/latest$2 [L,R=301]