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 2021/03/05 20:24:00 UTC

[netbeans-website] branch master updated: Adding a 404 page (#523)

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/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0fcb716  Adding a 404 page (#523)
0fcb716 is described below

commit 0fcb716e68be00cae18ce1791549b5a9557fcc8e
Author: Antonio Vieiro <vi...@users.noreply.github.com>
AuthorDate: Fri Mar 5 21:23:54 2021 +0100

    Adding a 404 page (#523)
    
    Co-authored-by: Antonio Vieiro <vi...@apache.org>
---
 netbeans.apache.org/src/content/.htaccess    |  3 ++
 netbeans.apache.org/src/content/404.asciidoc | 55 ++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/netbeans.apache.org/src/content/.htaccess b/netbeans.apache.org/src/content/.htaccess
index 255ff54..aaca03f 100644
--- a/netbeans.apache.org/src/content/.htaccess
+++ b/netbeans.apache.org/src/content/.htaccess
@@ -25,6 +25,9 @@ Redirect 302 /nb/issues_redirect.html https://issues.apache.org/jira/projects/NE
 Redirect 302 /nb/report-issue https://issues.apache.org/jira/projects/NETBEANS/issues
 #cgi mirror script
 Redirect 301 /download/maven/index.html /download/maven/index.cgi
+
+ErrorDocument 404 /404.html
+
 # Enable rewrite engine to redirect 404 pages to old netbeans.org (137.254.56.26)
 # RewriteEngine On
 # If the requested stuff is not a file ...
diff --git a/netbeans.apache.org/src/content/404.asciidoc b/netbeans.apache.org/src/content/404.asciidoc
new file mode 100644
index 0000000..ce7de24
--- /dev/null
+++ b/netbeans.apache.org/src/content/404.asciidoc
@@ -0,0 +1,55 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
+= Not found
+:jbake-type: page
+:jbake-tags: about
+:jbake-status: published
+:keywords: Apache NetBeans About
+:description: About Apache NetBeans
+:toc: left
+:toc-title:
+:icons: font
+
+== Page not found
+
+We regret having to say that the page you requested does not longer exist.
+
+This may be a problem of ours, if so please feel free to link:http://netbeans.apache.org/participate/report-issue.html[report an issue].
+
+== Main sections
+
+This website is structured in these main sections:
+
+=== Documentation
+
+* The main link:http://netbeans.apache.org/help/index.html[documentation section].
+** link:http://netbeans.apache.org/kb/docs/java/index.html[The Java SE Learning Trail].
+** link:http://netbeans.apache.org/kb/docs/php/index.html[PHP and HTML5 Learning Trail].
+** link:https://netbeans.apache.org/kb/docs/platform/[The NetBeans Platform Learning Trail].
+
+=== Other pages of interest:
+
+* Our link:http://netbeans.apache.org/wiki/[wiki is here].
+* See how to link:https://netbeans.apache.org/community/index.html[participate in Apache NetBeans].
+** Join our link:https://netbeans.apache.org/community/mailing-lists.html[mailing lists].
+** See how you can link:https://netbeans.apache.org/participate/submit-pr.html[contribute code].
+** See how you can link:https://netbeans.apache.org/kb/docs/contributing.html[contribute documentation].
+** Contribute a link:https://plugins.netbeans.apache.org/[plugin] in our website.
+
+


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