Reedy has uploaded a new change for review. https://gerrit.wikimedia.org/r/84724
Change subject: Remove "labs" ...................................................................... Remove "labs" Already pointing to wikitech in redirects.conf Change-Id: If51cf46323370fc7f52c05d538d8a6407d88dedd --- M wikimedia.conf 1 file changed, 0 insertions(+), 48 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/apache-config refs/changes/24/84724/1 diff --git a/wikimedia.conf b/wikimedia.conf index 108cd44..f4c2f6c 100644 --- a/wikimedia.conf +++ b/wikimedia.conf @@ -80,54 +80,6 @@ </VirtualHost> - -# Experimental "labs" wikis -<VirtualHost *> - ServerName wikimedia-labs - ServerAlias *.labs.wikimedia.org - UseCanonicalName off - DocumentRoot "/usr/local/apache/common/docroot/wikimedia.org" - - AllowEncodedSlashes On - - RewriteEngine On - RewriteMap lowercase int:tolower - - # Uploads to the host-specific directory - # First grab the subdomain from HTTP_HOST - RewriteCond %{HTTP_HOST} ([a-z\-]+)\.wikimedia\.org - # Now use it - RewriteRule ^/upload/(.*)$ http://upload.wikimedia.org/wikimedia.org/%1/$1 [R=302] - - # Primary wiki redirector: - Alias /wiki /usr/local/apache/common/docroot/wikimedia.org/w/index.php - RewriteRule ^/$ /w/index.php - - # UseMod compatibility URLs - RewriteCond %{QUERY_STRING} ([^&;]+) - RewriteRule ^/wiki\.cgi$ /w/index.php?title=%1 [R=301,L] - RewriteRule ^/wiki\.cgi$ /w/index.php [R=301,L] - - RewriteRule ^/math/(.*) http://upload.wikimedia.org/math/$1 [R=301] - - # Configurable favicon - RewriteRule ^/favicon\.ico$ /w/favicon.php [L] - - <Directory "/usr/local/apache/common/docroot/wikimedia.org/w"> - <IfModule mod_php5.c> - php_admin_flag engine on - </IfModule> - </Directory> - <Directory "/usr/local/apache/common/docroot/wikimedia.org/w/extensions"> - <IfModule mod_php5.c> - php_admin_flag engine off - </IfModule> - </Directory> - - # Stats - RewriteRule ^/stats(/(.*$)|$) http://wikimedia.org/stats/%{HTTP_HOST}/$1 [R=301,L] -</VirtualHost> - <VirtualHost *> DocumentRoot "/usr/local/apache/common/docroot/bits/" ServerName bits.wikimedia.org -- To view, visit https://gerrit.wikimedia.org/r/84724 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If51cf46323370fc7f52c05d538d8a6407d88dedd Gerrit-PatchSet: 1 Gerrit-Project: operations/apache-config Gerrit-Branch: master Gerrit-Owner: Reedy <re...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits