httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <>
Subject [PATCH] Make the path to the conf file be configurable
Date Mon, 25 Feb 2002 17:50:20 GMT
Currently the location of the conffile is hardcoded with:
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?

---	Fri Feb  1 23:22:29 2002
+++	Mon Feb 25 17:42:08 2002
@@ -439,7 +439,7 @@
 	[Root directory of the Apache install area])
+AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "$sysconfdir/$progname.conf",
 	[Location of the config file, relative to the Apache root directory])
 	[Location of the source for the current MPM])

View raw message