On Monday 11 June 2007 17:15:39 Boyle Owen wrote: > > > I want to change this from... > > > -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf" > > > to > > > -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" > Why not just do: Thanks for the reply Owen. > ./configure --prefix=/path/to/prefix (eg, /etc/apache2) > > then the conf file is in /etc/apache2/conf, the binary is in > /etc/apache2/bin, logs in /etc/apche2/logs etc.. That's not exactly what I am after. I'm trying to emulate a Debian installation without using debian/rules. I'd end up with a SERVER_CONFIG_FILE=/etc/apache2/conf/httpd.conf whereas I specifically want it as /etc/apache2/apache2.conf. I just tried this from seeing an old message to a mailing-list. env CFLAGS="-Wall \ -DHTTPD_ROOT=\"/var/www\" \ -DSERVER_CONFIG_FILE=\"/etc/apache2/apache2.conf\"" \ ./configure --enable-layout=Debian --datadir=/etc/apache2 \ --enable-modules=all --enable-mods-shared=all --enable-ssl --enable-so \ --enable-proxy --enable-proxy-connect --enable-proxy-ftp \ --enable-proxy-http --disable-suexec --enable-dbd \ --enable-cache --enable-disk-cache --enable-mem-cache \ --with-apr=/usr --with-apr-util=/usr --with-mpm=prefork \ --with-program-name=apache2 --with-pcre=yes --disable-ldap But as anyone can see, it's noted and redefined in ap_config_auto.h include/ap_config_auto.h:192:1: warning: "HTTPD_ROOT" redefined <command-line>: warning: this is the location of the previous definition include/ap_config_auto.h:210:1: warning: "SERVER_CONFIG_FILE" redefined <command-line>: warning: this is the location of the previous definition So I guess it comes down to how to tame ap_config_auto.h and prevent it from redifining both the command line args and my --datadir=/etc/apache2 + --with-program-name=apache2 ? --markc --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx