On Monday 13 August 2007 16:03:39 Dag-Erling Smørgrav wrote:
> Knut-Olav Hoven <[EMAIL PROTECTED]> writes:
> > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes:
> > > Knut-Olav Hoven <[EMAIL PROTECTED]> writes:
> > > > How can I customize the error messages that Varnish return?
> > >
> > > Not easily; edit bin/varnishd/cache_synthetic.c and recompile.
> >
> > 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?
>
> It might be possible to change req.url and issue a restart?  Poul-Henning?
>
> Of course, if Apache is down and your error page isn't cached, you're SOL.

If it is possible to issue a temporary redirect back to the user with a new 
url, that could work for my case.

The error page can then be stored on a different webserver.

>
> DES



-- 
Knut-Olav Hoven
Systemutvikler               mob: +47 986 71 700
Linpro AS                    http://www.linpro.no/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to