You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Bill Stoddard <st...@raleigh.ibm.com> on 1999/08/04 22:24:03 UTC

How to handle mpm specific command line options

I'd like to add a new mpm function, ap_mpm_cmdargs(argc, argv), to
handle mpm specific command line arguments. It would be called in the
default case of the switch in http_main.c. Anyone have any objections or
alternate solutions to keep platform specific code out of http_main?

Bill

-- 
Bill Stoddard
stoddard@raleigh.ibm.com

Re: How to handle mpm specific command line options

Posted by Dean Gaudet <dg...@arctic.org>.
Yes I know what Bill wanted them for. 

I'm just complaining that there are already 3 abstractions.  One of which
(-D) is overkill.

-C may seem like overkill as well... but what if we got rid of all the
command line options, and just made each argv element pass a line to the
config engine?

This is apache 2.0, there's no reason we have to support the apache 1.x
command line options. 

You'll notice -X is gone.

Dean

On Thu, 5 Aug 1999, Keith Wannamaker wrote:

> More like the service-control switches for Win32.. -i, -u, -n
> 
> --
> Keith Wannamaker
> IBM HTTP Server Development
> RTP NC, USA
> 
> Dean Gaudet wrote:
> > 
> > environment variables?
> > 
> > -D?
> > 
> > -C?
> > 
> > Dean
> > 
> > On Wed, 4 Aug 1999, Bill Stoddard wrote:
> > 
> > > I'd like to add a new mpm function, ap_mpm_cmdargs(argc, argv), to
> > > handle mpm specific command line arguments. It would be called in the
> > > default case of the switch in http_main.c. Anyone have any objections or
> > > alternate solutions to keep platform specific code out of http_main?
> > >
> > > Bill
> > >
> > > --
> > > Bill Stoddard
> > > stoddard@raleigh.ibm.com
> > >
> 


Re: How to handle mpm specific command line options

Posted by Keith Wannamaker <kr...@raleigh.ibm.com>.
More like the service-control switches for Win32.. -i, -u, -n

--
Keith Wannamaker
IBM HTTP Server Development
RTP NC, USA

Dean Gaudet wrote:
> 
> environment variables?
> 
> -D?
> 
> -C?
> 
> Dean
> 
> On Wed, 4 Aug 1999, Bill Stoddard wrote:
> 
> > I'd like to add a new mpm function, ap_mpm_cmdargs(argc, argv), to
> > handle mpm specific command line arguments. It would be called in the
> > default case of the switch in http_main.c. Anyone have any objections or
> > alternate solutions to keep platform specific code out of http_main?
> >
> > Bill
> >
> > --
> > Bill Stoddard
> > stoddard@raleigh.ibm.com
> >

Re: How to handle mpm specific command line options

Posted by Dean Gaudet <dg...@arctic.org>.
environment variables? 

-D?

-C? 

Dean

On Wed, 4 Aug 1999, Bill Stoddard wrote:

> I'd like to add a new mpm function, ap_mpm_cmdargs(argc, argv), to
> handle mpm specific command line arguments. It would be called in the
> default case of the switch in http_main.c. Anyone have any objections or
> alternate solutions to keep platform specific code out of http_main?
> 
> Bill
> 
> -- 
> Bill Stoddard
> stoddard@raleigh.ibm.com
>