You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by vi...@apache.org on 2019/04/09 01:21:27 UTC

[incubator-netbeans-website] branch master updated: Redirection to legacy.netbeans.org for 404 pages.

This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 7741c11  Redirection to legacy.netbeans.org for 404 pages.
7741c11 is described below

commit 7741c1102c1a294df4267ae8c46f18b0bafd0aef
Author: Antonio Vieiro <vi...@users.noreply.github.com>
AuthorDate: Tue Apr 9 03:21:23 2019 +0200

    Redirection to legacy.netbeans.org for 404 pages.
---
 netbeans.apache.org/src/content/.htaccess | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/netbeans.apache.org/src/content/.htaccess b/netbeans.apache.org/src/content/.htaccess
index 7691860..c9edda9 100644
--- a/netbeans.apache.org/src/content/.htaccess
+++ b/netbeans.apache.org/src/content/.htaccess
@@ -15,6 +15,5 @@ RewriteEngine On
 RewriteCond "%{REQUEST_FILENAME}" "!-f"
 # ... nor a directory ...
 RewriteCond "%{REQUEST_FILENAME}" "!-d"
-# ... then redirect (302) to Oracle's server
-RequestHeader set Host netbeans.org
-RewriteRule (.*) "https://137.254.56.26/$1" [L,R=302]
+# ... then redirect (302) to the legacy.netbeans.org server with Oracle era content
+RewriteRule (.*) "https://legacy.netbeans.org/$1" [L,R=302]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists