February 2011
Intermediate to advanced
332 pages
9h 3m
English
As we learned before, we can use the -k parse option to test our configuration file. Now, we are going to add a test line and see if Squid can catch the error.
squid.conf file:unknown_directive 1234
-k parse option as follows:
squid -k parse
unknown_directive is not a valid directive for the Squid configuration file, we should get an error similar to the following:
2010/07/21 22:28:40| cache_cf.cc(346) squid.conf:945 unrecognized: 'unknown_directive'
So, if we find an error within our configuration file, we can go back and fix the errors and then parse the configuration file again.
We first added an ...
Read now
Unlock full access