Custom error message

Knut-Olav Hoven hovenko at linpro.no
Mon Aug 13 12:23:28 CEST 2007


On Monday 13 August 2007 12:11:47 Dag-Erling Smørgrav wrote:
> Knut-Olav Hoven <hovenko at linpro.no> writes:
> > How can I customize the error messages that Varnish return?
>
> Not easily; edit bin/varnishd/cache_synthetic.c and recompile.

Ok.

So I can't intercept the response in vcl, detect if the response code is 503 
and then trigger a new 503 error with a different message or HTML code?



-- 
Knut-Olav Hoven
Systemutvikler               mob: +47 986 71 700
Linpro AS                    http://www.linpro.no/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20070813/558bd538/attachment-0002.pgp>


More information about the varnish-misc mailing list