On 3/3/06, Boyle Owen <[EMAIL PROTECTED]> wrote:
> You're doing the right thing - you must simply be editing the wrong config 
> file (this is a likely problem if you have several installs and are not sure 
> which one is running).
>
> If you do "ps -ef" you should see the full path to httpd (eg 
> /usr/local/apache2/httpd). Then if you do:
>
> $ /full/path/to/httpd -V and look for SERVER_CONFIG_FILE it will tell you 
> where its default config file is.
>
> Other tricks:
>
> - put a deliberate syntax error in the config and do a configtest: it should 
> complain
> - look for "-f" in the ps output (this is the flag to select a particular 
> config file).
>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
>

Thanks. It appears that te full path is /usr/sbin/apache2 and the
config file is /etc/apache2/apache2.conf

I have googled nothing that showed a config file that is not called
httpd.conf but as the executable is called apache2 and not httpd, then
I guess it may follow that so is also called the config file. I
installed via apt-get in Kubuntu, that may account or the unusual
names.

Thank you.

Dotan Cohen
http://dotancohen.com

Reply via email to