In message <[email protected]>, 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 [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://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
