diff mbox

[wwwdocs] Move the generic redirect for /java/ past all more specific ones

Message ID alpine.LSU.2.20.1612291802330.2994@anthias.pfeifer.com
State New
Headers show

Commit Message

Gerald Pfeifer Dec. 29, 2016, 10:32 p.m. UTC
Move the generic redirect for /java/ past all more specific ones for
pages formerly under /java/...

With this change, the redirects that you can see as context in the
patch below actually work again.

Applied.

Gerald
diff mbox

Patch

Index: .htaccess
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/.htaccess,v
retrieving revision 1.39
diff -u -r1.39 .htaccess
--- .htaccess	4 Dec 2016 23:33:28 -0000	1.39
+++ .htaccess	29 Dec 2016 21:51:18 -0000
@@ -48,12 +48,12 @@ 
 Redirect permanent /onlinedocs/g77_bugs.html	https://gcc.gnu.org/onlinedocs/g77/Trouble.html
 Redirect permanent /onlinedocs/g77/		https://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/
 
-Redirect permanent /java/			https://gcc.gnu.org/
 Redirect permanent /java/gcj.html		https://gcc.gnu.org/
 Redirect permanent /java/libgcj.html		https://gcc.gnu.org/
 Redirect permanent /java/about.html		https://gcc.gnu.org/about.html
 Redirect permanent /java/FAQ.html		https://gcc.gnu.org/faq.html
 Redirect permanent /java/status.html		https://gcc.gnu.org/
+Redirect permanent /java/			https://gcc.gnu.org/
 
 Redirect permanent /bugs.html			https://gcc.gnu.org/bugs/
 Redirect permanent /c9xstatus.html		https://gcc.gnu.org/c99status.html