Reedy has uploaded a new change for review. https://gerrit.wikimedia.org/r/147474
Change subject: Apache config for boardgovcomwiki using mod_proxy_fcgi ...................................................................... Apache config for boardgovcomwiki using mod_proxy_fcgi Change-Id: I113d1adb66e929fc19d9d556a68886f08a8f33b4 --- M modules/mediawiki/files/apache/sites/remnant.conf 1 file changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/74/147474/1 diff --git a/modules/mediawiki/files/apache/sites/remnant.conf b/modules/mediawiki/files/apache/sites/remnant.conf index ee179ab..e65233a 100644 --- a/modules/mediawiki/files/apache/sites/remnant.conf +++ b/modules/mediawiki/files/apache/sites/remnant.conf @@ -267,6 +267,16 @@ AllowEncodedSlashes On RewriteEngine On + + <IfDefine HHVM> + ProxyPass /wiki fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/boardgovcom/w/index.php + ProxyPass /w/extensions ! + ProxyPassMatch ^/w/(.*\.(php|hh))$ fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/boardgovcom/w/$1 + RewriteRule ^/$ fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/boardgovcom/w/index.php [P] + RewriteRule ^/robots\.txt$ fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/boardgovcom/w/robots.php [P] + RewriteRule ^/favicon\.ico$ fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/boardgovcom/w/favicon.php [P] + </IfDefine> + RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^/(.*)$ https://boardgovcom.wikimedia.org/$1 [R=301,L] -- To view, visit https://gerrit.wikimedia.org/r/147474 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I113d1adb66e929fc19d9d556a68886f08a8f33b4 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