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 7209869  Trying out the proxy flag in rewriterule
7209869 is described below

commit 72098691f412b86990bbb1300b6e792c94c12144
Author: Antonio Vieiro <vie...@users.noreply.github.com>
AuthorDate: Tue Apr 9 20:39:57 2019 +0200

    Trying out the proxy flag in rewriterule
---
 netbeans.apache.org/src/content/.htaccess | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


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

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

Reply via email to