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

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

commit e08db44e08d24e44249e4e92f646d772d41da7f8
Author: Antonio Vieiro <vie...@users.noreply.github.com>
AuthorDate: Wed Apr 10 13:41:04 2019 +0200

    [NETBEANS-2080] Restoring .htaccess
    
    It seems .htaccess was redirecting the catalog file incorrectly.
---
 netbeans.apache.org/src/content/.htaccess | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/netbeans.apache.org/src/content/.htaccess 
b/netbeans.apache.org/src/content/.htaccess
index c9edda9..4b42e64 100644
--- a/netbeans.apache.org/src/content/.htaccess
+++ b/netbeans.apache.org/src/content/.htaccess
@@ -10,10 +10,10 @@ Redirect 302 /nb/report-issue 
https://issues.apache.org/jira/projects/NETBEANS/i
 #cgi mirror script
 Redirect 301 /download/maven/index.html /download/maven/index.cgi
 # Enable rewrite engine to redirect 404 pages to old netbeans.org 
(137.254.56.26)
-RewriteEngine On
+# RewriteEngine On
 # If the requested stuff is not a file ...
-RewriteCond "%{REQUEST_FILENAME}" "!-f"
+# RewriteCond "%{REQUEST_FILENAME}" "!-f"
 # ... nor a directory ...
-RewriteCond "%{REQUEST_FILENAME}" "!-d"
+# 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]
+# RewriteRule (.*) "https://legacy.netbeans.org/$1"; [L,R=302]


---------------------------------------------------------------------
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