----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Then use a properties file with a variable=path/to/httpd.conf. if you 
move it, you change the properties to reflect the new location and then 
Voila!

Ben Ricker
Web Administrator
US-Rx, Inc.

Jean Tremblay wrote:

>> On Wed, Jan 03, 2001 at 07:29:12PM +0100, Jean Tremblay wrote:
>> 
>>> I'm writing servlets on Apache Jserv 1.1.2.
>>> Does anyone know how, from a servlet, one can find the start date of the
>>> apache web server?
>>> 
>>> One possibility, is to use the modification date of httpd.pid. But then
>>> an other problem occurs, how can I find the location of the httpd.pid
>>> file?
>>> 
>>> Does anyone know how to do that?
>> 
>> Pull in the Apache config file. The location of the pid file is defined in there.
> 
> 
> I do not want to hard-wire the location of this file. Is it possible to find the
> location of this file from a servlet?
> 
> Thanks
> 
> Jean




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to