You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2018/09/04 19:57:14 UTC
svn commit: r1840058 - /poi/site/publish/.htaccess
Author: nick
Date: Tue Sep 4 19:57:14 2018
New Revision: 1840058
URL: http://svn.apache.org/viewvc?rev=1840058&view=rev
Log:
Further rewrites for commonly externally-linked resources to their new locations
Modified:
poi/site/publish/.htaccess
Modified: poi/site/publish/.htaccess
URL: http://svn.apache.org/viewvc/poi/site/publish/.htaccess?rev=1840058&r1=1840057&r2=1840058&view=diff
==============================================================================
--- poi/site/publish/.htaccess (original)
+++ poi/site/publish/.htaccess Tue Sep 4 19:57:14 2018
@@ -1,9 +1,23 @@
+# TODO Redirect to HTTPS by default
+
# Redirect the older H##F pages to their new common locations
RewriteEngine On
RewriteRule ^hssf/(.*)$ http://poi.apache.org/components/spreadsheet/$1 [R=permanent]
RewriteRule ^hslf/(.*)$ http://poi.apache.org/components/slideshow/$1 [R=permanent]
RewriteRule ^hwpf/(.*)$ http://poi.apache.org/components/document/$1 [R=permanent]
RewriteRule ^hdgf/(.*)$ http://poi.apache.org/components/diagram/$1 [R=permanent]
-# Redirects after updating to Apache Forrest 0.9 and site restructuring
-RewriteRule ^faq.html$ /help/faq.html
-RewriteRule ^overview.html$ /components/index.html
+# Redirect the medium-aged component pages to the new common locations
+RewriteRule ^spreadsheet/(.*)$ http://poi.apache.org/components/spreadsheet/$1 [R=permanent]
+RewriteRule ^slideshow/(.*)$ http://poi.apache.org/components/slideshow/$1 [R=permanent]
+RewriteRule ^document/(.*)$ http://poi.apache.org/components/document/$1 [R=permanent]
+RewriteRule ^diagram/(.*)$ http://poi.apache.org/components/diagram/$1 [R=permanent]
+# Redirects for commonly linked pages to their new locations
+RewriteRule ^faq.html$ /help/faq.html [R=permanent]
+RewriteRule ^mailinglists.html$ /help/index.html [R=permanent]
+RewriteRule ^logging.html$ /components/logging.html [R=permanent]
+RewriteRule ^overview.html$ /components/index.html [R=permanent]
+RewriteRule ^poi-jvm-languages.html$ /components/poi-jvm-languages.html [R=permanent]
+RewriteRule ^poi-ruby.html$ /components/poi-ruby.html [R=permanent]
+RewriteRule ^guidelines.html$ /devel/guidelines.html [R=permanent]
+RewriteRule ^howtobuild.html$ /devel/howtobuild.html [R=permanent]
+RewriteRule ^subversion.html$ /devel/subversion.html [R=permanent]
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org