Not if you want to be able to start apache without passing it any special
arguments to tell you where to put the config file. #ifdef-ing some or
all of those things in httpd.h would be a good thing.
HTTPD_ROOT for sure, perhaps a bunch more too.
See the patches being done for the FreeBSD port at;
ftp://ftp.freebsd.org/pub/FreeBSD/ports-current/www/apache/patches/
I don't agree with the way he is doing them all, but... that's the general
concept. It should be possible for a vendor to make Apache work with the
structure they want by modifying only Configuration and the *.conf files.
On Sun, 27 Apr 1997, Dean Gaudet wrote:
> I'm curious what top few lines you need to configure... in particular you
> can use the DocumentRoot and ServerRoot directives to move those things
> around. See conf/httpd.conf-dist for ServerRoot, and conf/srm.conf-dist
> for DocumentRoot.
>
> Dean
>
> On Mon, 21 Apr 1997, Stephen Turnbull wrote:
>
> >
> > >Number: 449
> > >Category: config
> > >Synopsis: why not make the top few lines of httpd.h configurable in
> > >Configuration?
> > >Confidential: no
> > >Severity: non-critical
> > >Priority: medium
> > >Responsible: apache (Apache HTTP Project)
> > >State: open
> > >Class: change-request
> > >Submitter-Id: apache
> > >Arrival-Date: Mon Apr 21 23:30:01 1997
> > >Originator: [EMAIL PROTECTED]
> > >Organization:
> > apache
> > >Release: 1.2b8
> > >Environment:
> > all
> > >Description:
> > There are only a few items in the top part of httpd.h. I've found it
> > useful to put my Web related stuff under /WWW/, and the servers themselves
> > by version under /WWW/Servers/. (Ie, the top of the docs tree is
> > /WWW/htdocs and 1.2b8 lives under /WWW/htdocs/apache_1.2b8 with all the
> > attendant subdirectories like conf/ and logs/.) It would be nice to be
> > able to configure this in one place (Configuration) rather than have to
> > edit both Configuration and httpd.h.
> > >How-To-Repeat:
> >
> > >Fix:
> >
> > >Audit-Trail:
> > >Unformatted:
> >
> >
> >
>