David Shane Holden wrote:

> I agree with Ryan wholeheartedly here.
> 
> Here's an idea...
> If conf/ exist, copy httpd.conf, magic, and mime.types (These are basic
> files that all conf/ should have, right?).  If conf/ does not exist, copy
> everything.

uhhh, that clobbers httpd.conf, and they'd tar and feather us for sure.  But if
we leave out that piece, it's close to what's happening now:

. make a conf/ directory if it doesn't already exist 
. if mime.types or magic don't already exist, copy them
. always copy in *-std.conf (httpd-std.conf and ssl-std.conf for now) with
appropriate substitutions for paths and modules etc learned during ./configure
. look for files whose names match the *-std.conf files copied above with the
"-std" piece of the name removed (i.e., httpd.conf and ssl.conf).  If they don't
exist, copy them from the corresponding *-std.conf files.

That's it.

Greg

Reply via email to