Steve Hay wrote:
[...]
I've just tried Apache/2.0.48 now, and that doesn't seem to have the problem -- i.e. "apache.exe -DAPACHE2 -X" does do single process mode.

A bug in Apache/1.3.29, maybe?

That's strange, may be ask at httpd-dev?


OK, that wasn't strictly true, as I've now found that Apache 2 is OK without the space ;) What I meant was that the usage message printed by "apache.exe -h" for both Apache 1 and Apache 2 shows a space:-

Usage: apache [-D name] [-d directory] [-f file] [-n service]
              [-C "directive"] [-c "directive"] [-k signal]
              [-v] [-V] [-h] [-l] [-L] [-S] [-t] [-T]
  -D name          : define a name for use in <IfDefine name> directives
  [...]

To me, this is quite natural since all the other options (-d, -f, -n, etc...) also have a space between the option letter and the argument. Is that not normal usage for "getopt()"-style arguments anyway? I've never typed "-DFoo" when I meant "-D Foo" ;)

-Dfoo is the way you pass define constants to C compilers at compile time. So it helps a lot to use the same idiom to pass define constants at startup time. But of course, if that doesn't work, then your fix is right.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to