Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/146088
Change subject: Apache config for foundationwiki using mod_proxy_fcgi
......................................................................
Apache config for foundationwiki using mod_proxy_fcgi
Change-Id: Id1ae18a7d5896074ef1138eabff8ecac1893345b
---
M foundation.conf
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/apache-config
refs/changes/88/146088/1
diff --git a/foundation.conf b/foundation.conf
index da0590b..ad0de43 100644
--- a/foundation.conf
+++ b/foundation.conf
@@ -5,6 +5,16 @@
AllowEncodedSlashes On
RewriteEngine On
+
+ <IfDefine HHVM>
+ ProxyPass /wiki
fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/foundation/w/index.php
+ ProxyPass /w/extensions !
+ ProxyPassMatch ^/w/(.*\.(php|hh))$
fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/wikivoyage.org/w/$1
+ RewriteRule ^/$
fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/foundation/w/index.php
[P]
+ RewriteRule ^/robots\.txt$
fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/foundation/w/robots.php
[P]
+ RewriteRule ^/favicon\.ico$
fcgi://127.0.0.1:9000/usr/local/apache/common/docroot/foundation/w/favicon.php
[P]
+ </IfDefine>
+
RewriteRule . - [E=RW_PROTO:%{HTTP:X-Forwarded-Proto}]
RewriteCond %{ENV:RW_PROTO} !=https
RewriteRule . - [E=RW_PROTO:http]
--
To view, visit https://gerrit.wikimedia.org/r/146088
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1ae18a7d5896074ef1138eabff8ecac1893345b
Gerrit-PatchSet: 1
Gerrit-Project: operations/apache-config
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits