Source files of fsfe.org, pdfreaders.org, freeyourandroid.org, ilovefs.org, drm.info, and test.fsfe.org. Contribute: https://fsfe.org/contribute/web/ https://fsfe.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.htaccess 9.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. RewriteEngine On
  2. RewriteRule ^favicon.ico /graphics/fsfe.ico [redirect=permanent]
  3. RewriteRule ^graphics/fsfeurope.ico /graphics/fsfe.ico [redirect=permanent]
  4. RewriteRule ^(.*)\.no.html /$1.nb.html [redirect=permanent]
  5. RewriteRule ^(.*)\.no.rss /$1.nb.rss [redirect=permanent]
  6. RewriteRule ^contact/press(.*) /press/press$1 [redirect=permanent]
  7. RewriteRule ^standards(.*) /projects/os$1 [redirect=permanent]
  8. RewriteRule ^education(.*) /projects/education$1 [redirect=permanent]
  9. RewriteRule ^ftf(.*) /projects/ftf$1 [redirect=permanent]
  10. RewriteRule ^stacs(.*) /projects/stacs$1 [redirect=permanent]
  11. RewriteRule ^gbn(.*) /projects/gbn$1 [redirect=permanent]
  12. RewriteRule ^law/eucd/(.*) /projects/eucd$1 [redirect=permanent]
  13. RewriteRule ^law(.*) /projects/law$1 [redirect=permanent]
  14. RewriteRule ^swpat(.*) /projects/swpat$1 [redirect=permanent]
  15. RewriteRule ^donate.html /donate/donate.en.html [redirect=permanent]
  16. # Former speakerlist
  17. RewriteRule ^about/speakerlist(.*) /about/team$1 [redirect=permanent]
  18. # Documents
  19. RewriteRule ^documents/documents(.*) /projects/work$1 [redirect=permanent]
  20. RewriteRule ^documents(/)?$ /projects/work.html [redirect=permanent]
  21. RewriteRule ^documents/fp6(.*) /projects/fp6$1 [redirect=permanent]
  22. RewriteRule ^documents/whatwedo(.*) /about/basics/whatwedo$1 [redirect=permanent]
  23. RewriteRule ^documents/gnuproject(.*) /about/basics/gnuproject$1 [redirect=permanent]
  24. RewriteRule ^documents/whyweexist(.*) /about/basics/whyweexist$1 [redirect=permanent]
  25. RewriteRule ^documents/freesoftware(.*) /about/basics/freesoftware$1 [redirect=permanent]
  26. RewriteRule ^documents/preamble(.*) /about/history/preamble$1 [redirect=permanent]
  27. RewriteRule ^documents/doi(.*) /about/history/doi$1 [redirect=permanent]
  28. RewriteRule ^documents/msooxml(.*) /projects/os/msooxml$1 [redirect=permanent]
  29. RewriteRule ^documents/iprip(.*) /projects/wipo/iprip$1 [redirect=permanent]
  30. RewriteRule ^documents/wiwo(.*) /projects/wipo/wiwo$1 [redirect=permanent]
  31. RewriteRule ^documents/printable/(.*) /about/printable/$1 [redirect=permanent]
  32. RewriteRule ^documents/reports/(.*) /about/reports/$1 [redirect=permanent]
  33. RewriteRule ^documents/rms-fs-2006-03-09(.*) /freesoftware/transcripts/rms-fs-2006-03-09$1 [redirect=permanent]
  34. RewriteRule ^documents/whyfs(.*) /campaigns/whyfs/whyfs$1 [redirect=permanent]
  35. RewriteRule ^documents/eur5greve(.*) /about/basics/eur5greve$1 [redirect=permanent]
  36. RewriteRule ^documents/20071219-opera-antitrust(.*) /about/basics/$1 [redirect=permanent]
  37. RewriteRule ^documents/peru.en.txt /projects/un/peru.en.txt [redirect=permanent]
  38. # New year's resolution in 2009.
  39. RewriteRule ^2009$ /news/2009/nyr.html [redirect=permanent]
  40. RewriteRule ^2009/$ /news/2009/nyr.html [redirect=permanent]
  41. # Help section redirs.
  42. RewriteRule ^help$ /contribute/ [redirect=permanent]
  43. RewriteRule ^help/$ /contribute/ [redirect=permanent]
  44. RewriteRule ^help/index(.*) /contribute/contribute$1 [redirect=permanent]
  45. RewriteRule ^help/help(.*) /contribute/contribute$1 [redirect=permanent]
  46. RewriteRule ^help/web\.(.*) /contribute/web/web.$1 [redirect=permanent]
  47. RewriteRule ^help/(.*) /donate/$1 [redirect=permanent]
  48. # Valentine campaign redirects.
  49. RewriteRule ^valentine/(.*) /campaigns/valentine-2010/$1 [redirect=permanent]
  50. RewriteRule ^valentine-2010/(.*) /campaigns/valentine-2010/$1 [redirect=permanent]
  51. RewriteRule ^vd2010/(.*) /campaigns/valentine-2010/$1 [redirect=permanent]
  52. RewriteRule ^campaigns/vd2010/vd2010(.*) /campaigns/valentine-2010/valentine-2010$1 [redirect=permanent]
  53. RewriteRule ^campaigns/valentine-2010/vd2010(.*) /campaigns/valentine-2010/valentine-2010$1 [redirect=permanent]
  54. RewriteRule ^campaigns/vd2010/(.*) /campaigns/valentine-2010/$1 [redirect=permanent]
  55. RewriteRule ^campaigns/vd2010 /campaigns/valentine-2010/ [redirect=permanent]
  56. # Temporary fix unitl we have a /freesoftware dir for contribute/advocacy/cwfs.en.html
  57. RewriteRule ^freesoftware/freesoftware(.*) /about/basics/freesoftware$1 [redirect=temp]
  58. # Rewrite for dead links to gnupg-ccid stuff
  59. RewriteRule ^en/content/download/17665/125518/file/gnupg-ccid.rules http://wiki.fsfe.org/Card_howtos/Card_reader_setup_(udev)?action=AttachFile&do=view&target=gnupg-ccid.rules [redirect=permanent]
  60. RewriteRule ^en/content/download/15872/77909/file/gnupg-ccid http://wiki.fsfe.org/Card_howtos/Card_reader_setup_(udev)?action=AttachFile&do=view&target=gnupg-ccid [redirect=permanent]
  61. # from .symlinks files (and some of underlying .htaccess files to avoid conflicts)
  62. ## /projects directory
  63. RewriteRule ^projects/community(.*) /projects/work$1 [redirect=permanent]
  64. RewriteRule ^projects/legal(.*) /projects/work$1 [redirect=permanent]
  65. RewriteRule ^projects/other(.*) /projects/work$1 [redirect=permanent]
  66. RewriteRule ^projects/technical(.*) /projects/work$1 [redirect=permanent]
  67. RewriteRule ^projects/wiwo(.*) /projects/wipo$1 [redirect=permanent]
  68. ## /projects/wsis directory
  69. RewriteRule ^projects/wsis/cs-benchmarks\.(.*) /projects/wsis/cs-benchmarks-03-11-14.$1 [redirect=permanent]
  70. RewriteRule ^projects/wsis/plenary-statement.html /projects/wsis/ps-20030923.en.html [redirect=permanent]
  71. RewriteRule ^projects/wsis/FreeSoftware.html /projects/wsis/fs.en.html [redirect=permanent]
  72. RewriteRule ^projects/wsis/cs-benchmarks.html /projects/wsis/cs-benchmarks-03-11-14.en.html [redirect=permanent]
  73. RewriteRule ^projects/wsis/event.html /projects/wsis/event-03-12-10.en.html [redirect=permanent]
  74. ## /projects/swpat directory
  75. RewriteRule ^projects/swpat/letter.en.html /projects/swpat/letter-20040510.en.html [redirect=permanent]
  76. RewriteRule ^projects/swpat/letter.de.html /projects/swpat/letter-20040510.de.html [redirect=permanent]
  77. RewriteRule ^projects/swpat/letter.html /projects/swpat/letter-20040510.en.html [redirect=permanent]
  78. RewriteRule ^projects/swpat/appello.html /projects/swpat/letter-20050114-stanca.it.html [redirect=permanent]
  79. RewriteRule ^projects/swpat/appello-it-mep.pdf /projects/swpat/letter-20050511-it-mep.pdf [redirect=permanent]
  80. ## /de/news/2004 directory
  81. RewriteRule ^de/news/2004/navigator-20040917.de.html /news/2004/navigator-20040917.de.html [redirect=permanent]
  82. ## /news directory
  83. RewriteRule ^news/article2001-10-20-01.de.html /news/2001/article2001-10-20-01.de.html [redirect=permanent]
  84. RewriteRule ^news/article2001-10-20-01.en.html /news/2001/article2001-10-20-01.en.html [redirect=permanent]
  85. RewriteRule ^news/article2001-10-20-01.es.html /news/2001/article2001-10-20-01.es.html [redirect=permanent]
  86. RewriteRule ^news/article2001-10-20-01.fr.html /news/2001/article2001-10-20-01.fr.html [redirect=permanent]
  87. RewriteRule ^news/article2001-10-20-01.it.html /news/2001/article2001-10-20-01.it.html [redirect=permanent]
  88. RewriteRule ^news/article2001-10-20-01.pt.html /news/2001/article2001-10-20-01.pt.html [redirect=permanent]
  89. ## /news/2009
  90. RewriteRule ^news/2009/index.html /news/2009/nyr.en.html [redirect=permanent]
  91. RewriteRule ^news/2009/index.en.html /news/2009/nyr.en.html [redirect=permanent]
  92. RewriteRule ^news/2009/index.de.html /news/2009/nyr.de.html [redirect=permanent]
  93. RewriteRule ^news/2009/index.es.html /news/2009/nyr.es.html [redirect=permanent]
  94. RewriteRule ^news/2009/index.fr.html /news/2009/nyr.fr.html [redirect=permanent]
  95. RewriteRule ^news/2009/index.it.html /news/2009/nyr.it.html [redirect=permanent]
  96. RewriteRule ^news/2009/index.pt.html /news/2009/nyr.pt.html [redirect=permanent]
  97. ## /news/2009/nyr directory
  98. RewriteRule ^news/2009/nyr/index.html /news/2009/nyr.en.html [redirect=permanent]
  99. RewriteRule ^news/2009/nyr/index.en.html /news/2009/nyr.en.html [redirect=permanent]
  100. RewriteRule ^news/2009/nyr/index.es.html /news/2009/nyr.es.html [redirect=permanent]
  101. RewriteRule ^news/2009/nyr/index.de.html /news/2009/nyr.de.html [redirect=permanent]
  102. RewriteRule ^news/2009/nyr/index.fr.html /news/2009/nyr.fr.html [redirect=permanent]
  103. RewriteRule ^news/2009/nyr/index.it.html /news/2009/nyr.it.html [redirect=permanent]
  104. RewriteRule ^news/2009/nyr/index.pt.html /news/2009/nyr.pt.html [redirect=permanent]
  105. # from underlying .htaccess files to avoid conflicts
  106. ## /projects/ftf directory
  107. RewriteRule ^projects/ftf/rough-guide-for-users(.*) /projects/ftf/useful-tips-for-users$1 [redirect=permanent]
  108. RewriteRule ^projects/ftf/rough-guide-for-vendors(.*) /projects/ftf/useful-tips-for-vendors$1 [redirect=permanent]
  109. RewriteRule ^projects/ftf/contact(.*) /contact/contact$1#ftf [NE,redirect=permanent]
  110. RewriteRule ^projects/ftf/form(.*) /contact/contact$1#ftf [NE,redirect=permanent]
  111. ## /projects/fla directory
  112. RewriteRule ^projects/fla/(.*) /projects/ftf/$1 [redirect=permanent]
  113. # Redirects to reduce 404's
  114. RewriteRule ^en/layout/set/rss/content/view/full/5116 http://blogs.fsfe.org/ciaran/?feed=rss2 [redirect=permanent]
  115. RewriteRule ^en/layout/set/rss/content/view/full/5009 http://blogs.fsfe.org/maffulli/?feed=rss2 [redirect=permanent]
  116. RewriteRule ^en/layout/set/rss/content/view/full/4972 http://blogs.fsfe.org/gerloff/?feed=rss2 [redirect=permanent]
  117. RewriteRule ^en/layout/set/rss/content/view/full/5971 http://blogs.fsfe.org/jj/?feed=rss2 [redirect=permanent]
  118. RewriteRule ^en/layout/set/rss/content/view/full/6128 http://blogs.fsfe.org/jj/?feed=rss2 [redirect=permanent]
  119. RewriteRule ^en/layout/set/rss/content/view/full/4974 http://blogs.fsfe.org/greve/?feed=rss2 [redirect=permanent]
  120. RewriteRule ^en/news http://fsfe.org/news/ [redirect=permanent]
  121. RewriteRule ^people/greve /about/greve/ [redirect=permanent]
  122. RewriteRule ^projects/fellowship http://fellowship.fsfe.org [redirect=permanent]
  123. RewriteRule ^en/rss/feed/news.xml /news/news.en.rss [redirect=permanent]
  124. RewriteRule ^en/rss/feed/events.xml /events/events.en.rss [redirect=permanent]
  125. RewriteRule ^news/fsfe-fr-channel.fr.xml /news/news.fr.rss [redirect=permanent]