On Monday 13 August 2007 13:05:39 Pablo García wrote:
> You can always customize your apache error page.

No, I don't think I can, since PHP segfaults and takes Apache down with it.

>
> Regards, Pablo
>
> On 8/13/07, Poul-Henning Kamp <[EMAIL PROTECTED]> wrote:
> > In message <[EMAIL PROTECTED]>, Knut-Olav Hoven writes:
> > >On Monday 13 August 2007 12:11:47 Dag-Erling Sm=F8rgrav wrote:
> > >> 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.
> > >
> > >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?
> >
> > You can change the status but not the HTML ... yet.
> >
> > We have ideas for this area, basically, you would detect the 503,
> > edit req.url and restart the transaction with the new url.
> >
> > Not yet implemented however.
> >
> > We have also talked about being able to have local content on the
> > varnish server, likely in the form of a .tar file, but this is also
> > yet to be implemented.
> >
> >
> > --
> > Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> > [EMAIL PROTECTED]         | TCP/IP since RFC 956
> > FreeBSD committer       | BSD since 4.3-tahoe
> > Never attribute to malice what can adequately be explained by
> > incompetence. _______________________________________________
> > varnish-misc mailing list
> > [email protected]
> > http://projects.linpro.no/mailman/listinfo/varnish-misc
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> http://projects.linpro.no/mailman/listinfo/varnish-misc



-- 
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