httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: [PATCH] Make the path to the conf file be configurable
Date Mon, 25 Feb 2002 18:37:07 GMT
As long as we can ensure that the default $sysconfdir is $prefix/conf,
I am +1 in concept.

-aaron


On Mon, Feb 25, 2002 at 05:50:20PM +0000, Thom May wrote:
> Hi.
> Currently the location of the conffile is hardcoded with:
> AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "conf/$progname.conf"
> This means that setting $sysconfdir or using a layout doesn't affect where
> apache2 looks for it's main conffile.
> This patch alters the define to use $sysconfdir/$progname.conf; the only
> possible drawback of this approach is that it moves from a relative path to
> an absolute path. Is this a bad thing?
> Cheers,
> -Thom
> 
> --- configure.in.orig	Fri Feb  1 23:22:29 2002
> +++ configure.in	Mon Feb 25 17:42:08 2002
> @@ -439,7 +439,7 @@
>  
>  AC_DEFINE_UNQUOTED(HTTPD_ROOT, "$prefix",
>  	[Root directory of the Apache install area])
> -AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "conf/$progname.conf",
> +AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "$sysconfdir/$progname.conf",
>  	[Location of the config file, relative to the Apache root directory])
>  AC_DEFINE_UNQUOTED(APACHE_MPM_DIR, "$MPM_DIR",
>  	[Location of the source for the current MPM])

Mime
View raw message