You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ask Bjoern Hansen <as...@develooper.com> on 2002/08/27 13:30:38 UTC

relative log file locations in 2.0.41-dev

It seems like the latest httpd from CVS doesn't prepend ServerRoot
to to log paths.  If I start the httpd like this,

/home/perl/apache2/bin/httpd -d /home/web/front/ -k start -e debug

I get an error that it can't open logs/error_log.

If I chdir to /home/web/front/ I don't get an error message, but the
httpd silently just exits.

If I change the log paths to absolute paths everything works fine.


 - ask

-- 
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();


RE: relative log file locations in 2.0.41-dev

Posted by Allan <ak...@meepzor.com>.
> can you check the latest CVS version now and see if it fixes your
problem?

Fixes the startup failure I was seeing earlier this a.m. on Win32. 

Allan


Re: relative log file locations in 2.0.41-dev

Posted by Ian Holsman <ia...@apache.org>.
Ask Bjoern Hansen wrote:
> It seems like the latest httpd from CVS doesn't prepend ServerRoot
> to to log paths.  If I start the httpd like this,
> 
> /home/perl/apache2/bin/httpd -d /home/web/front/ -k start -e debug
> 
> I get an error that it can't open logs/error_log.
> 
> If I chdir to /home/web/front/ I don't get an error message, but the
> httpd silently just exits.
> 
> If I change the log paths to absolute paths everything works fine.
> 
> 
>  - ask
> 

ask/Jeff
can you check the latest CVS version now and see if it fixes your problem?


Re: relative log file locations in 2.0.41-dev

Posted by Ian Holsman <ia...@apache.org>.
Ask Bjoern Hansen wrote:
> It seems like the latest httpd from CVS doesn't prepend ServerRoot
> to to log paths.  If I start the httpd like this,
> 
> /home/perl/apache2/bin/httpd -d /home/web/front/ -k start -e debug
> 
> I get an error that it can't open logs/error_log.
> 
> If I chdir to /home/web/front/ I don't get an error message, but the
> httpd silently just exits.
> 
> If I change the log paths to absolute paths everything works fine.
> 
> 
>  - ask
> 


looking at it now.
serves me right for doing development on NT ;-)