Lots of configs
phk at phk.freebsd.dk
Wed Mar 9 10:01:08 CET 2011
In message <AANLkTin4C-iGH0mYm+UH3qf7ETZOyA1FiHfoPHitOKaZ at mail.gmail.com>, Davi
d Murphy writes:
>>And finally, since most users with massive domains will need or want
>>to reload VCL for trivial addition/removals of domains, somebody[TM]
>>should probably write a VMOD which looks a domain up in a suitable
>>database file (db/dbm/whatever)
>I was wondering, is there any way for us to be able to run an external
>lookup that can form part of decision-making in VCL. For example, a
>file or db lookup to see if a value is true/false and that will
>determine which sections of VCL code run?
Writing a VMOD that does that shouldn't be hard, we just need to
find somebody with a pocket full of round tuits.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc