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

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

Reply via email to