Reedy has uploaded a new change for review. https://gerrit.wikimedia.org/r/147446
Change subject: Apache config for iegcomwiki using mod_proxy_fcgi ...................................................................... Apache config for iegcomwiki using mod_proxy_fcgi Change-Id: I1aca119535b4f92c1c0159161a869c54c0fa786b --- M modules/mediawiki/files/apache/sites/wikimedia.conf 1 file changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/46/147446/1 diff --git a/modules/mediawiki/files/apache/sites/wikimedia.conf b/modules/mediawiki/files/apache/sites/wikimedia.conf index ca7c04b..d22557e 100644 --- a/modules/mediawiki/files/apache/sites/wikimedia.conf +++ b/modules/mediawiki/files/apache/sites/wikimedia.conf @@ -158,6 +158,16 @@ AllowEncodedSlashes On RewriteEngine On + + <IfDefine HHVM> + ProxyPass /wiki fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/iegcom/w/index.php + ProxyPass /w/extensions ! + ProxyPassMatch ^/w/(.*\.(php|hh))$ fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/iegcom/w/$1 + RewriteRule ^/$ fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/iegcom/w/index.php [P] + RewriteRule ^/robots\.txt$ fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/iegcom/w/robots.php [P] + RewriteRule ^/favicon\.ico$ fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/iegcom/w/favicon.php [P] + </IfDefine> + RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^/(.*)$ https://iegcom.wikimedia.org/$1 [R=301,L] -- To view, visit https://gerrit.wikimedia.org/r/147446 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1aca119535b4f92c1c0159161a869c54c0fa786b Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Reedy <re...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits