You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Aldian Fazrihady <al...@yahoo.com> on 2003/10/09 09:42:38 UTC

[users@httpd] apache checking

i'm creating a linux-application installer which had
to add configuration data to httpd.conf.
I want to know how to find the right httpd.conf of the
running apache in a customized environment. i.e., the
user recompile the apache and place the httpd.conf in
a location he/she like. Can I query the apache web
server to output the path of httpd.conf? 
Another case is if in a system contains two or more
httpd.conf. One is in /etc/httpd.conf, another is in
/usr/local/apache/conf, etc. How do I programmatically
find the one which is used by the running apache?
It will be great if I can reconfigure the apache
without knowing the location of httpd.conf. Moreover,
without the need of restarting the apache. :)
Thanks in advance. Any reply is appreciated.
                                                      
                                                      
               
regards,
                                                      
                                                      
               
Aldian


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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


Re: [users@httpd] apache checking

Posted by suomi <ap...@ayni.com>.
man httpd

suomi

Aldian Fazrihady wrote:

>i'm creating a linux-application installer which had
>to add configuration data to httpd.conf.
>I want to know how to find the right httpd.conf of the
>running apache in a customized environment. i.e., the
>user recompile the apache and place the httpd.conf in
>a location he/she like. Can I query the apache web
>server to output the path of httpd.conf? 
>Another case is if in a system contains two or more
>httpd.conf. One is in /etc/httpd.conf, another is in
>/usr/local/apache/conf, etc. How do I programmatically
>find the one which is used by the running apache?
>It will be great if I can reconfigure the apache
>without knowing the location of httpd.conf. Moreover,
>without the need of restarting the apache. :)
>Thanks in advance. Any reply is appreciated.
>                                                      
>                                                      
>               
>regards,
>                                                      
>                                                      
>               
>Aldian
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>
>---------------------------------------------------------------------
>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
>
>  
>


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