httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: [PATCH] add -C and -c switches (take 2)
Date Thu, 08 Jan 1998 22:51:32 GMT
Martin Kraemer wrote:
> 
> On Wed, Jan 07, 1998 at 09:08:29PM +1300, Doug MacEachern wrote:
> >
> >      if (!(strcmp(fname, server_root_relative(p, RESOURCE_CONFIG_FILE))) ||
> > +     !(strcmp(fname, server_root_relative(p, SERVER_CONFIG_FILE)))   ||
> >       !(strcmp(fname, server_root_relative(p, ACCESS_CONFIG_FILE)))) {
> >       if (stat(fname, &finfo) == -1)
> >           return;
> What happens now when none of the three default config files is available?
> Does apache still complain? Or does it silently try to start with its
> defaults (and complain that no ServerName is set or anything)? I didn't
> try your patch myself.

I guess there have to be precommands if httpd.conf is missing.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message