On Wed, 2008-08-20 at 19:03 +1200, Amos Jeffries wrote: > Here is a quick patch I think builds a clean squid.conf file for use > > The gist of it is to build to shift the existing squid.conf.default to > the name squid.conf.documented (anyone got a better one?) > Then to generate a new squid.conf.default from that by pruning the > comments and empty lines. > > It's essentially what most of us experienced guys are doing anyway when > we have to, but at install time for the newbies. > > NP: haven't tested yet, just throwing up for comments.
+1 on the idea but have not reviewed the implementation. Please note that this will cause headaches for distributions that include squid.conf patches (e.g., CentOS Squid RPMs). Thanks, Alex.
