Krinkle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/143081

Change subject: dynamicproxy: Let 403 and 404 responses pass through
......................................................................

dynamicproxy: Let 403 and 404 responses pass through

Lighttpd handles these already. In addition, these aren't always
emitted by the file system. Web applications can (should!) use
proper http status codes and should not get their responses
replaced by the proxy.

Change-Id: Ied73974ce9512d0d9a56389b3ac687ebea8bd03e
---
M modules/dynamicproxy/templates/urlproxy.conf
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/81/143081/1

diff --git a/modules/dynamicproxy/templates/urlproxy.conf 
b/modules/dynamicproxy/templates/urlproxy.conf
index dba2baf..8e17e27 100644
--- a/modules/dynamicproxy/templates/urlproxy.conf
+++ b/modules/dynamicproxy/templates/urlproxy.conf
@@ -64,8 +64,8 @@
     # We can make this larger if need be.
     client_max_body_size 128m;
 
-    error_page 403 /admin/?403;
-    error_page 404 /admin/?404;
+    #error_page 403 /admin/?403; # bug 64393
+    #error_page 404 /admin/?404; # bug 64393
     error_page 500 /admin/?500;
     error_page 502 /admin/?502;
     error_page 503 /admin/?503;

-- 
To view, visit https://gerrit.wikimedia.org/r/143081
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied73974ce9512d0d9a56389b3ac687ebea8bd03e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Krinkle <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to