httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] How to change SERVER_CONFIG_FILE
Date Mon, 11 Jun 2007 07:15:39 GMT
> -----Original Message-----
> From: Mark Constable [mailto:markc@renta.net] 
> Sent: Monday, June 11, 2007 9:02 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] How to change SERVER_CONFIG_FILE
> 
> On Monday 11 June 2007 09:33:04 Mark Constable wrote:
> > Where do I change the SERVER_CONFIG_FILE setting ?
> > 
> > I want to change this from...
> >  -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf"
> > to
> >  -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
> 
> I'm still totally stumped on this. Searching Google with
> this below provides 5 uninformative links...
> 
>  site:httpd.apache.org SERVER_CONFIG_FILE
> 
> My configure file has this which seems to indicate that
> if --datadir=/etc/apache2 and --with-program-name=apache2
> then the result should be what I want (without touching
> include/httpd.h)

Why not just do:

./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..

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> ./configure:#define SERVER_CONFIG_FILE 
> "${rel_sysconfdir}/${progname}.conf"
> 
> Would anyone know a more appropriate place to ask a question
> like this perhaps ?
> 
> --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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message