Can VCL files use includes?
Svein Skogen (listmail accont)
svein-listmail at stillbilde.net
Fri Apr 10 12:59:47 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Can a VCL file use includes in blocks?
Reason I'm asking, is that among the things I am using my varnish setup
to do, is to block a long list of user-agents (of known address-scraper
bots for spammers) by giving them a nice 403.
However, having this list in my main config makes the main config file
very long, thus less readable, and as we all know: Configfiles that are
unreadable may cause security grief. :p
So, what I want to do, is to move such blocklists out to their own
files, and simply use include-statements (preferrably withing the
respective blocks) to read them.
Is this possible?
//Svein
- --
- --------+-------------------+-------------------------------
/"\ |Svein Skogen | svein at d80.iso100.no
\ / |Solberg Østli 9 | PGP Key: 0xE5E76831
X |2020 Skedsmokorset | svein at jernhuset.no
/ \ |Norway | PGP Key: 0xCE96CE13
| | svein at stillbilde.net
ascii | | PGP Key: 0x58CD33B6
ribbon |System Admin | svein-listmail at stillbilde.net
Campaign|stillbilde.net | PGP Key: 0x22D494A4
+-------------------+-------------------------------
|msn messenger: | Mobile Phone: +47 907 03 575
|svein at jernhuset.no | RIPE handle: SS16503-RIPE
- --------+-------------------+-------------------------------
Picture Gallery:
https://gallery.stillbilde.net/v/svein/
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknfJqIACgkQODUnwSLUlKS3ogCgmd1q6+6vsU9tQMhaUdPZchcB
8XQAoJdDXUn3Fl9eC5Op+3b+UZ2WcMoZ
=1FmM
-----END PGP SIGNATURE-----
More information about the varnish-misc
mailing list