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