Dzahn has submitted this change and it was merged.

Change subject: noc: redirect old dbtree URLs to new location
......................................................................


noc: redirect old dbtree URLs to new location

dbtree has moved to https://dbtree.wikimedia.org
redirect the old URLs because http://www.w3.org/Provider/Style/URI

Bug:T90837
Change-Id: I48c8384ff78df8af57c23a09d05e8e30ebe3bc1e
---
M modules/noc/templates/noc.wikimedia.org.erb
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/modules/noc/templates/noc.wikimedia.org.erb 
b/modules/noc/templates/noc.wikimedia.org.erb
index b13dbed..a2abe28 100644
--- a/modules/noc/templates/noc.wikimedia.org.erb
+++ b/modules/noc/templates/noc.wikimedia.org.erb
@@ -13,6 +13,7 @@
 
     RewriteEngine On
     RewriteRule   ^/~(.+) https://people.wikimedia.org/~$1  [R=301,L]
+    RewriteRule   ^/dbtree(.*)$ https://dbtree.wikimedia.org [R=301,L]
 
     ErrorLog /var/log/apache2/error.log
 

-- 
To view, visit https://gerrit.wikimedia.org/r/194701
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I48c8384ff78df8af57c23a09d05e8e30ebe3bc1e
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to