Very good tip.
Combining with what i had already started, i am currently using the batch file:
@ECHO OFF
%CD%\bin\wigwam.exe -q -c %CD%\config
IF ERRORLEVEL 1 GOTO ERRORCFG
start %CD%\bin\hiawatha.exe -d -c %CD%\config
IF ERRORLEVEL 1 GOTO ERROR
GOTO END
:ERRORCFG
echo configuration problem
:ERROR
PAUSE
:END
and i am using almost the original httpd.conf file, except for some hacks, since i don't use the "..Program Files" - location:
changed SystemLogfile, AccesslogFile, ErrorLogfile, WebsiteRoot
to
SystemLogfile = /apps/Hiawatha/log/system.log
AccesslogFile = /apps/Hiawatha/log/access.log
ErrorLogfile = /apps/Hiawatha/log/error.log
WebsiteRoot = /apps/wwwroot
I still get the same error message (as i have when using the other bathc file):
Warning: can't write PID file /cygdrive/c/Program Files/Hiawatha/log/hiawatha.pid.
but seems to work anyway, even with a simple php script, and i hope with some more complex php too.
greetings