[PATCH] Redirect 404s to the root for docs.fedoraproject.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 modules/fedora-docs/files/fedora-docs-proxy.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/fedora-docs/files/fedora-docs-proxy.conf b/modules/fedora-docs/files/fedora-docs-proxy.conf
index 6f4732c..4442851 100644
--- a/modules/fedora-docs/files/fedora-docs-proxy.conf
+++ b/modules/fedora-docs/files/fedora-docs-proxy.conf
@@ -1,4 +1,5 @@
 DocumentRoot /srv/web/docs.fedoraproject.org/public_html
+ErrorDocument 404 /
 
 RewriteEngine On
 RewriteRule ^(.*)/fc7/$ http://docs.fedoraproject.org/$1/f7/ [R,L]
-- 
1.5.5.6

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux