You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2021/06/23 10:03:48 UTC

svn commit: r1890995 - in /jackrabbit/site/live/oak: .htaccess index.html oak_logo.png

Author: kwin
Date: Wed Jun 23 10:03:48 2021
New Revision: 1890995

URL: http://svn.apache.org/viewvc?rev=1890995&view=rev
Log:
[OAK-9440] remove Oak website root and redirect to Maven site instead

Added:
    jackrabbit/site/live/oak/.htaccess
Removed:
    jackrabbit/site/live/oak/index.html
    jackrabbit/site/live/oak/oak_logo.png

Added: jackrabbit/site/live/oak/.htaccess
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/.htaccess?rev=1890995&view=auto
==============================================================================
--- jackrabbit/site/live/oak/.htaccess (added)
+++ jackrabbit/site/live/oak/.htaccess Wed Jun 23 10:03:48 2021
@@ -0,0 +1,8 @@
+RewriteEngine On
+
+# redirect to HTTPS
+RewriteCond %{HTTPS} off
+RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
+
+# redirect to docs subdirectory
+RewriteRule ^oak/(index\.html)?$ /oak/docs/ [R=302,L]