From 9c68f11374080a0af09e80c28489ee1d2c8d0e16 Mon Sep 17 00:00:00 2001 From: Jacob Barrett Date: Wed, 15 Sep 2021 15:55:19 -0700 Subject: [PATCH] Create .htaccess Redirect 404s to document index. --- website/content/docs/guide/.htaccess | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 website/content/docs/guide/.htaccess diff --git a/website/content/docs/guide/.htaccess b/website/content/docs/guide/.htaccess new file mode 100644 index 000000000..e3ed3f00d --- /dev/null +++ b/website/content/docs/guide/.htaccess @@ -0,0 +1,16 @@ +# 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. + +ErrorDocument 404 https://geode.apache.org/docs/