On Thu, 16 Dec 2004 08:31:51 -0000, John Snowdon
<J.P.Snowdon(at)newcastle.ac.uk> wrote:[...]
I've made a simple workaround that isn't "correct" in my book, but works.
1. Modified the configure script to accept a --enable_check_config option
2. Modified pound.c to exit right after the config_parse() if
check_config is set.
Then I just configure with --enable_check_config and --without-log,
and rename the resulting binary to pound-check-config.
I'll try to find some time to "do it right" so there's a runtime flag
which does all this instead.
Another alternative to do, I imagine, is to copy your .cfg file to
another name, change its ListenHTTP parameter to a bogus port number,
and run pound on that new .cfg file. If everything passes, then things
should work with the correct ListenHTTP parameter. But that's still
too much playing around for a production environment IMHO.
-Michal
|