On Wed, Feb 16, 2000, Steve Langasek wrote:
> I'm in the process of putting together an rpm package of apache 1.3.11/mod_ssl
> 2.5.0 for local use, and have found a small problem with the mod_ssl configure
> script: I need to pass a '--htdocsdir' argument to the apache config, but
> mod_ssl is trapping this and interpreting it as a '--help' argument (which it
> clearly is not).
>
> The troublesome code is around line 106 of the configure script:
>
> --help|*--help|--help*|*--help*|-h|*-h|-h*|*-h* ) help=yes;
>quiet=yes ;;
> --quiet|*--quiet|--quiet*|*--quiet*|-q|*-q|-q*|*-q* ) quiet=yes ;;
> --verbose|*--verbose|--verbose*|*--verbose*|-v|*-v|-v*|*-v* ) verbose=yes ;;
>
> Assuming that anything matching the *-h* glob is a cry for help is, I think,
> excessive, and clearly this can now cause problems for apache as of 1.3.11.
Yes, you're right: the check is too weak. I've fixed this now to check
for "*\ -h \*" (and similar for -q and -v) at the last alternative.
Thanks for your feedback.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]