diff --git a/source/.htaccess b/source/.htaccess new file mode 100644 index 00000000000..d4594cab44e --- /dev/null +++ b/source/.htaccess @@ -0,0 +1,5 @@ +# Note: this must be manually copied, sphinx does not process it +ErrorDocument 401 /manual/meta/401.html +ErrorDocument 403 /manual/meta/403.html +ErrorDocument 404 /manual/meta/404.html +ErrorDocument 410 /manual/meta/410.html diff --git a/source/meta/401.txt b/source/meta/401.txt new file mode 100644 index 00000000000..36ba531f2d4 --- /dev/null +++ b/source/meta/401.txt @@ -0,0 +1,7 @@ +:orphan: + +======================= +Authentication Required +======================= + +You must log in to access the URL you requested. diff --git a/source/meta/403.txt b/source/meta/403.txt new file mode 100644 index 00000000000..9e4b03e76c2 --- /dev/null +++ b/source/meta/403.txt @@ -0,0 +1,7 @@ +:orphan: + +============= +Access Denied +============= + +You do not have access to the URL you requested. diff --git a/source/meta/404.txt b/source/meta/404.txt new file mode 100644 index 00000000000..0bdd725c211 --- /dev/null +++ b/source/meta/404.txt @@ -0,0 +1,7 @@ +:orphan: + +============== +File not found +============== + +The URL you requested does not exist or has been removed. diff --git a/source/meta/410.txt b/source/meta/410.txt new file mode 100644 index 00000000000..7ad1fe45799 --- /dev/null +++ b/source/meta/410.txt @@ -0,0 +1,7 @@ +:orphan: + +============ +File Deleted +============ + +The URL you requested has been deleted. diff --git a/themes/mongodb/layout.html b/themes/mongodb/layout.html index cdbe66400a3..a68b3ba2e88 100644 --- a/themes/mongodb/layout.html +++ b/themes/mongodb/layout.html @@ -222,26 +222,30 @@