Hello guys.
 
    I'm running Apache2 on WindowsXP as a service (path to executable = "c:\apache2\Apache.exe" -k runservice in my service configuration ) .
 
    I have also ap_hook_post_config  (initialize_module,  NULL,NULL,APR_HOOK_MIDDLE ) in my source code...
 
    The problem I have is that when run as a service initalize_module() is called twice.
    However when I debug in Visual C++ and call Apache2 with  -X , initalize_module() is called only once !!!!

    Any ideas how to avoid the second call to initalize_module when I run as a service ?
 
Thanks in advance,
Nasko
   

Reply via email to