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:
cead6de
)
Rewrite URL to Debian memberships
author
Paul Wise
<pabs@debian.org>
Sun, 2 Jun 2019 12:28:57 +0000
(20:28 +0800)
committer
Paul Wise
<pabs@debian.org>
Sun, 2 Jun 2019 12:28:57 +0000
(20:28 +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
5803754
..
c3ffd24
100644
(file)
--- a/
modules/roles/templates/apache-www.debian.org.erb
+++ b/
modules/roles/templates/apache-www.debian.org.erb
@@
-277,6
+277,10
@@
# Relocation of derivatives pages
RewriteRule ^/misc/children-distros(?:\.html)?$ /derivatives/ [R=301,L]
RewriteRule ^/misc/children-distros(\.[^\.]+(?:\.html)?)$ /derivatives/index$1 [R=301,L]
+
+# Relocation of memberships information
+ RewriteRule ^/misc/memberships(?:\.html)?$ /intro/organization$1#memberships [R=301,L]
+ RewriteRule ^/misc/memberships(\.[^\.]+(?:\.html)?)$ /intro/organization$1#memberships [R=301,L]
</Macro>
<Macro common-www.d.o>