> -----Original Message-----
> From: Andres Kroonmaa [mailto:andre@online.ee]
> Sent: Monday, March 25, 2002 7:10 PM
> To: squid-dev@squid-cache.org
> Subject: includes inside squid.conf
>
>
>
> This has been covered before, but here's again.
> Sites maintaining multiple caches it often nice to have
> per-box squid.conf that specifies specific items, and
> then include some shared config files that can be
> synced between boxes.
>
> Its also good to have full acl definitions in separate
> files, although we can do that partly already.
I've done something similar by turning my squid.conf in
a cpp-interpreted file.
> Would be nice to have in 2.6. I have one implementation
> for that, based on recursive configfile parser. recursion
> loops are detected by remembering inodes of seen configs.
> I don't consider recursion here as evil, besides it makes
> for pretty simple patch.
> What are your thoughts?
Might be interesting.
Alternatively, we could redesign the configuration parsing
engine to be a yacc+lex thing. We'd trade some flexibility
(lexically-variable lex parsers are hard to implement -
if it's possible at all) in favour of genericity.
Of course, this would unfortunately also mean that
Robert's generic parser work should be dropped.
-- /kinkieReceived on Tue Mar 26 2002 - 11:22:47 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:53 MST