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 19:09:21 UTC
[incubator-netbeans-website] branch master updated: Restoring
legacy.netbeans.org with 302 redirection
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 8714224 Restoring legacy.netbeans.org with 302 redirection
8714224 is described below
commit 87142245c5b816fd2ff61362e1196caa2ea1fb4b
Author: Antonio Vieiro <vi...@users.noreply.github.com>
AuthorDate: Tue Apr 9 21:09:17 2019 +0200
Restoring legacy.netbeans.org with 302 redirection
---
netbeans.apache.org/src/content/.htaccess | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/netbeans.apache.org/src/content/.htaccess b/netbeans.apache.org/src/content/.htaccess
index e0fab97..c9edda9 100644
--- a/netbeans.apache.org/src/content/.htaccess
+++ b/netbeans.apache.org/src/content/.htaccess
@@ -16,6 +16,4 @@ RewriteCond "%{REQUEST_FILENAME}" "!-f"
# ... nor a directory ...
RewriteCond "%{REQUEST_FILENAME}" "!-d"
# ... then redirect (302) to the legacy.netbeans.org server with Oracle era content
-RequestHeader set Host netbeans.org
-# RewriteRule (.*) "https://legacy.netbeans.org/$1" [P]
-RewriteRule (.*) "https://137.254.56.26/$1" [P]
+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