You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/04/26 21:54:45 UTC

svn commit: r1858228 - in /tomcat/site/trunk: docs/.htaccess xdocs/.htaccess

Author: markt
Date: Fri Apr 26 21:54:45 2019
New Revision: 1858228

URL: http://svn.apache.org/viewvc?rev=1858228&view=rev
Log:
Back to RewriteRule

Modified:
    tomcat/site/trunk/docs/.htaccess
    tomcat/site/trunk/xdocs/.htaccess

Modified: tomcat/site/trunk/docs/.htaccess
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/.htaccess?rev=1858228&r1=1858227&r2=1858228&view=diff
==============================================================================
--- tomcat/site/trunk/docs/.htaccess (original)
+++ tomcat/site/trunk/docs/.htaccess Fri Apr 26 21:54:45 2019
@@ -1 +1,3 @@
-Redirect "/svn.html" "/source.html"
+RewriteEngine On
+RewriteRule "^/svn\.html$" "source.html" [R=301]
+

Modified: tomcat/site/trunk/xdocs/.htaccess
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/.htaccess?rev=1858228&r1=1858227&r2=1858228&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/.htaccess (original)
+++ tomcat/site/trunk/xdocs/.htaccess Fri Apr 26 21:54:45 2019
@@ -1 +1,3 @@
-Redirect "/svn.html" "/source.html"
+RewriteEngine On
+RewriteRule "^/svn\.html$" "source.html" [R=301]
+



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org