#1320 Varnish returns a 503 when being given a 302 by the webapp
Hans Schou
hans at moc.net
Tue Jul 2 13:45:28 CEST 2013
Hi
https://www.varnish-cache.org/trac/ticket/1320
The error occur when requesting a sub-page in Typo3 like
http://example.org/foo and it is being redirected to
http://example.org/foo/ by typo3 backend. Then Content-Encoding is set
to "gzip" and "Content-Length" is 0.
I got this error with varnish 3.0.4 and solved it with this (if it could
be to any help).
if (beresp.http.Content-Encoding ~ "gzip" ) {
if (beresp.http.Content-Length == "0") {
unset beresp.http.Content-Encoding;
}
}
...it might be possible to write it more "correct".
--
Venlig hilsen
Hans Schou
tel:46923438
More information about the varnish-misc
mailing list