Giuseppe Lavagetto has submitted this change and it was merged. Change subject: mediawiki: fix content-type and content-length in fcgi ......................................................................
mediawiki: fix content-type and content-length in fcgi Change-Id: I232138e62d31ca734eb30ba2e34262a134a2d615 Signed-off-by: Giuseppe Lavagetto <[email protected]> --- M modules/mediawiki/files/apache/configs/fcgi_headers.conf 1 file changed, 4 insertions(+), 2 deletions(-) Approvals: Giuseppe Lavagetto: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/mediawiki/files/apache/configs/fcgi_headers.conf b/modules/mediawiki/files/apache/configs/fcgi_headers.conf index dc87937..53d152f 100644 --- a/modules/mediawiki/files/apache/configs/fcgi_headers.conf +++ b/modules/mediawiki/files/apache/configs/fcgi_headers.conf @@ -1,3 +1,5 @@ -# Apache with mod_proxy_fcgi does _not_ pass the Authorization header to the -# fastcgi server, which broke OAUTH +# Apache with mod_proxy_fcgi and apache_get_headers() do not play well toghether +# So this is a hack to make that function work as expected. SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 +SetEnvIf Content-Type "(.*)" HTTP_CONTENT_TYPE=$1 +SetEnvIf Content-Length "(.*)" HTTP_CONTENT_LENGTH=$1 -- To view, visit https://gerrit.wikimedia.org/r/175975 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I232138e62d31ca734eb30ba2e34262a134a2d615 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Giuseppe Lavagetto <[email protected]> Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
