[gimp-web/oscp] redirects_httpd: add many redirections for specific pages of the old wiki.



commit 2bf60e9ecb99340181e09ca093fb06ef587616e4
Author: Jehan <jehan girinstud io>
Date:   Sat Oct 15 00:02:13 2022 +0200

    redirects_httpd: add many redirections for specific pages of the old wiki.

 .../app_data/httpd-cfg/wiki.gimp.org.conf          | 55 ++++++++++++++++++++++
 1 file changed, 55 insertions(+)
---
diff --git a/redirects_httpd/app_data/httpd-cfg/wiki.gimp.org.conf 
b/redirects_httpd/app_data/httpd-cfg/wiki.gimp.org.conf
index f0d295ba..cf66f00c 100644
--- a/redirects_httpd/app_data/httpd-cfg/wiki.gimp.org.conf
+++ b/redirects_httpd/app_data/httpd-cfg/wiki.gimp.org.conf
@@ -2,5 +2,60 @@
    ServerName wiki.gimp.org
 
    RewriteEngine On
+
+   # It seems like all links were either starting with /wiki/ or /index.php/ so
+   # we use RedirectMatch to use regular expressions.
+   RedirectMatch permanent /(wiki|index.php)/Roadmap                        
https://developer.gimp.org/core/roadmap/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Developer_FAQ          https://developer.gimp.org/faq/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:API_documentation      
https://developer.gimp.org/resource/api/
+
+   RedirectMatch permanent /(wiki|index.php)/Build:Basic                    
https://developer.gimp.org/core/setup/build/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Basic_build            
https://developer.gimp.org/core/setup/build/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Building               
https://developer.gimp.org/core/setup/build/
+
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Building/Linux         
https://developer.gimp.org/core/setup/build/linux/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Building/Windows       
https://developer.gimp.org/core/setup/build/windows/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:_Building/Mac_OSX      
https://developer.gimp.org/core/setup/build/macos/
+
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Patches                
https://developer.gimp.org/core/submit-patch/
+
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Problems_and_solutions 
https://developer.gimp.org/core/setup/problems_and_solutions/
+
+   # IRC meetings
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Dev_Meeting_14_Mar_2011 
https://developer.gimp.org/conferences/irc_meeting/dev_meeting_14_mar_2011/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Dev_Meeting_19_Apr_2011 
https://developer.gimp.org/conferences/irc_meeting/dev_meeting_19_apr_2011/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Dev_Meeting_28_Feb_2011 
https://developer.gimp.org/conferences/irc_meeting/dev_meeting_28_feb_2011/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Dev_Meeting_28_Mar_2011 
https://developer.gimp.org/conferences/irc_meeting/dev_meeting_28_mar_2011/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:Developer_Meetings      
https://developer.gimp.org/conferences/
+
+   # GIMPCon / LGM
+   RedirectMatch permanent /(wiki|index.php)/Hacking:GIMPCon_2000,_Berlin,_Germany,_2000                     
     https://developer.gimp.org/conferences/gimpcon/2000/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:GIMPCon_2003,_Berlin,_Germany,_2003                     
     https://developer.gimp.org/conferences/gimpcon/2003/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:GIMPCon_2004,_Kristiansand,_Norway,_2004                
     https://developer.gimp.org/conferences/gimpcon/2004/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:GIMPCon_2005,_Stuttgart,_Germany,_2005                  
     https://developer.gimp.org/conferences/gimpcon/2005/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:GIMPCon_2006,_Lyon,_France,_2006                        
     https://developer.gimp.org/conferences/gimpcon/2006/
+   RedirectMatch permanent 
/(wiki|index.php)/Hacking:LGM_2007_Libre_Graphics_Meeting,_Montr%C3%A9al,_Canada,_2007 
https://developer.gimp.org/conferences/lgm/2007-montreal_canada/
+   RedirectMatch permanent 
/(wiki|index.php)/Hacking:LGM_2008_Libre_Graphics_Meeting,_Wroc%C5%82aw,_Poland,_2008  
https://developer.gimp.org/conferences/lgm/2008-wroclaw_poland/
+   RedirectMatch permanent 
/(wiki|index.php)/Hacking:LGM_2009_Libre_Graphics_Meeting,_Montr%C3%A9al,_Canada,_2009 
https://developer.gimp.org/conferences/lgm/2009-montreal_canada/
+   RedirectMatch permanent 
/(wiki|index.php)/Hacking:LGM_2010_Libre_Graphics_Meeting,_Brussels,_Belgium,_2010     
https://developer.gimp.org/conferences/lgm/2010-brussels_belgium/
+   RedirectMatch permanent 
/(wiki|index.php)/Hacking:LGM_2011_Libre_Graphics_Meeting,_Montr%C3%A9al,_Canada,_2011 
https://developer.gimp.org/conferences/lgm/2011-montreal_canada/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:LGM_2012_Libre_Graphics_Meeting,_Vienna,_Austria,_2012  
     https://developer.gimp.org/conferences/lgm/2012-vienna_austria/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:LGM_2013_Libre_Graphics_Meeting,_Madrid,_Spain          
     https://developer.gimp.org/conferences/lgm/2013-madrid_spain/
+   RedirectMatch permanent /(wiki|index.php)/Hacking:LGM_2014_Libre_Graphics_Meeting,_Leipzig,_Germany       
     https://developer.gimp.org/conferences/lgm/2014-leipzig_germany/
+   RedirectMatch permanent /(wiki|index.php)/LGM2014Minutes                                                  
     https://developer.gimp.org/conferences/lgm/2014-leipzig_germany/lgm_2014_minutes/
+
+   RedirectMatch permanent /(wiki|index.php)/wiki/Graphic_tablets_support             
https://developer.gimp.org/core/graphic_tablets_support/
+
+   RedirectMatch permanent /(wiki|index.php)/Hacking:WarpTool/UI_design_info          
https://developer.gimp.org/core/specifications/warp-tool/
+   RedirectMatch permanent /(wiki|index.php)/Mindstorm:n-point_image_deformation_tool 
https://developer.gimp.org/core/specifications/n-point_image_deformation_tool/
+   RedirectMatch permanent /(wiki|index.php)/Specs:Action_Search_Dialog               
https://developer.gimp.org/core/specifications/action-search-dialog/
+
+   RedirectMatch permanent /(wiki|index.php)/Index_of_Algorithms                      
https://developer.gimp.org/core/algorithm/
+   RedirectMatch permanent /(wiki|index.php)/Flood_algorithm                          
https://developer.gimp.org/core/algorithm/flood/
+
+   RedirectMatch permanent /(wiki|index.php)/WGO_Redesign                             
https://developer.gimp.org/core/wgo/
+
+   # Generic rule for the rest.
    RedirectMatch permanent "^(.*)$" https://developer.gimp.org/
+
 </VirtualHost>


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