Giuseppe Lavagetto has uploaded a new change for review. https://gerrit.wikimedia.org/r/189440
Change subject: mediawiki: send .phtml files to HHVM as well ...................................................................... mediawiki: send .phtml files to HHVM as well As noted in T88942 we still have a PHP file that's called "wiki.phtml" in the mediawiki repository, thus we have to catch cases of people trying to access that directly and send them to HHVM. Change-Id: Ia418bc129ad6e5748623128a637ef70435e76c43 Signed-off-by: Giuseppe Lavagetto <[email protected]> --- M modules/mediawiki/files/apache/configs/hhvm_catchall.conf 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/40/189440/1 diff --git a/modules/mediawiki/files/apache/configs/hhvm_catchall.conf b/modules/mediawiki/files/apache/configs/hhvm_catchall.conf index 32bc3bf..2a84765 100644 --- a/modules/mediawiki/files/apache/configs/hhvm_catchall.conf +++ b/modules/mediawiki/files/apache/configs/hhvm_catchall.conf @@ -1,7 +1,7 @@ # This file is managed by puppet # Execute all PHP (and Hack) files via HHVM. <IfDefine HHVM> - <FilesMatch "\.(php|hh)$"> + <FilesMatch "\.(php|hh|phtml)$"> RewriteRule ^(.*)$ fcgi://127.0.0.1:9000$1 [P] </FilesMatch> </IfDefine> -- To view, visit https://gerrit.wikimedia.org/r/189440 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia418bc129ad6e5748623128a637ef70435e76c43 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Giuseppe Lavagetto <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
