MaxSem has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/252364

Change subject: Switch www.wikipedia.org to Git
......................................................................

Switch www.wikipedia.org to Git

Change-Id: If63e8a17b576da9f58de8b5cd6e73bda87043348
---
M modules/mediawiki/files/apache/sites/wwwportals.conf
1 file changed, 5 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/64/252364/1

diff --git a/modules/mediawiki/files/apache/sites/wwwportals.conf 
b/modules/mediawiki/files/apache/sites/wwwportals.conf
index 28a6325..3b32a43 100644
--- a/modules/mediawiki/files/apache/sites/wwwportals.conf
+++ b/modules/mediawiki/files/apache/sites/wwwportals.conf
@@ -21,7 +21,11 @@
     RewriteRule . - [E=RW_PROTO:http]
 
     # Front page...
-    RewriteRule ^/$ /w/extract2.php?template=Www.wikipedia.org_template [L]
+    RewriteRule ^/$ /portal/wikipedia.org/index.html [L]
+
+    <Location ~ "^/$|^/portal/">
+        Header set Cache-Control "s-maxage=300, must-revalidate, max-age=0"
+    </Location>
 
     # search-redirect.php, let it through
     RewriteRule ^/search-redirect.php /w/search-redirect.php [L]
@@ -223,4 +227,3 @@
 </VirtualHost>
 
 # vim: sts=4 sw=4 syn=apache autoindent
-

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If63e8a17b576da9f58de8b5cd6e73bda87043348
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: MaxSem <maxsem.w...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to