projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d858d
)
Redirect old children-distros page to new derivatives page
author
Paul Wise
<pabs@debian.org>
Wed, 29 Nov 2017 08:16:36 +0000
(16:16 +0800)
committer
Paul Wise
<pabs@debian.org>
Wed, 29 Nov 2017 08:17:58 +0000
(16:17 +0800)
modules/roles/templates/apache-www.debian.org.erb
patch
|
blob
|
history
diff --git
a/modules/roles/templates/apache-www.debian.org.erb
b/modules/roles/templates/apache-www.debian.org.erb
index
dc5a57a
..
b26d883
100644
(file)
--- a/
modules/roles/templates/apache-www.debian.org.erb
+++ b/
modules/roles/templates/apache-www.debian.org.erb
@@
-251,6
+251,10
@@
# Relocation of blends pages
RewriteRule ^/devel/hamradio(.*)$ /blends/hamradio$1 [R=301,L]
+
+# Relocation of derivatives pages
+ RewriteRule ^/misc/children-distros(?:\.html)?$ /derivatives/ [R=301,L]
+ RewriteRule ^/misc/children-distros(\.[^\.]+(?:\.html)?)$ /derivatives/index$1 [R=301,L]
</Macro>
<Macro common-www.d.o>