Hi James,

On Fri, Dec 7, 2012 at 12:58 AM, James Pearson <[email protected]> wrote:

> In vcl_error, I can use the synthetic keyword to construct a nice HTML
> error
> page.  For consistency reasons, I'd like this to use the same error page
> we use
> in a few other parts of the stack.  Is there any way to pull in another
> file as
> a value?


import std;

and then use std.fileread

See man vmod_std for details.



-- 
 <http://www.varnish-software.com/> *Per Buer*
CEO | Varnish Software AS
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to