On 12/28/2011 6:57 AM, Stefan Fritsch wrote:
Hi,
Author: sf
Date: Wed Dec 28 14:54:49 2011
New Revision: 1225199
URL: http://svn.apache.org/viewvc?rev=1225199&view=rev
Log:
Check during configtest that the directories for error logs exist
Testing under Windows is welcome
PR: 29941
I think that the combination of ap_server_root_relative and
ap_make_dirstr_parent should also work under Windows with backslashes
as path separators. But it would be nice if somebody could test that
before I backport to 2.4.
Cheers,
Stefan
Stefan,
Build at r1226558, post both these revisions.
Missing main log directory shows up on console if started from there, or
Eventlog (syslog) if started as service
c:\Apache24\bin>httpd
(OS 2)The system cannot find the file specified. : AH02291: Cannot
access directory 'c:/Apache24/lo
gs/' for main error log
AH00014: Configuration check failed
vhost specific, shows in error log
CustomLog "\\some\\bogus\\path\\access.log" common
[Fri Jan 13 11:20:30.038382 2012] [log_config:error] [pid 420:tid 636]
(OS 3)The system cannot find the path specified. : AH00649: could not
open transfer log file c:/some/bogus/path/access.log.
AH00015: Unable to open logs
Looks fine!
Cheers,
Gregg