Ori.livneh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/163542
Change subject: Set appropriate 500 and 404 documents for HHVM
......................................................................
Set appropriate 500 and 404 documents for HHVM
Configure hhvm.server.error_document{404,500} for pretty error pages:
hhvm-fatal-error.php for 500s (added by MaxSem in change I9e97418aa /
ce7cc3b5ae9) and the standard 404.php for 404s.
You won't find these configuration keys if you grep the HHVM source tree.
The ini-style lowercase_with_underscore names are programmatically derived from
the hdf-style ErrorDocument404 and ErrorDocument500 directives.
Change-Id: I1aa43dbb00745e652ef04c0ee325424167fb2c25
---
M modules/mediawiki/manifests/hhvm.pp
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/42/163542/1
diff --git a/modules/mediawiki/manifests/hhvm.pp
b/modules/mediawiki/manifests/hhvm.pp
index 977a652..b943a1f 100644
--- a/modules/mediawiki/manifests/hhvm.pp
+++ b/modules/mediawiki/manifests/hhvm.pp
@@ -16,7 +16,9 @@
fcgi_settings => {
hhvm => {
server => {
- source_root => '/srv/mediawiki/docroot',
+ source_root => '/srv/mediawiki/docroot',
+ error_document500 => '/srv/mediawiki/hhvm-fatal-error.php',
+ error_document404 => '/srv/mediawiki/w/404.php',
},
},
},
--
To view, visit https://gerrit.wikimedia.org/r/163542
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1aa43dbb00745e652ef04c0ee325424167fb2c25
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits