--- parser3/src/targets/isapi/parser3isapi.C 2002/08/01 11:41:21 1.78 +++ parser3/src/targets/isapi/parser3isapi.C 2002/10/29 11:28:19 1.80 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3ISAPI_C="$Date: 2002/08/01 11:41:21 $"; +static const char* IDENT_PARSER3ISAPI_C="$Date: 2002/10/29 11:28:19 $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -382,10 +382,11 @@ void real_parser_handler(Pool& pool, LPE snprintf(config_filespec, MAX_STRING, "%s/%s", beside_binary_path, AUTO_FILE_NAME); + bool fail_on_config_read_problem=entry_exists(config_filespec); // process the request request.core( - config_filespec, false /*fail_on_read_problem*/, // /path/to/first/auto.p + config_filespec, fail_on_config_read_problem, // /path/to/first/auto.p header_only); } @@ -422,7 +423,7 @@ inline DWORD RealHttpExtensionProc(LPEXT SAPI_func_context ctx={ lpECB, 0, // filling later: so that if there would be error pool would have ctx - 200 // default http_response_code + 200 // default http_response_code [lpECB->dwHttpStatusCode seems to be always 0, even on 404 redirect to /404.html] }; pool.set_context(&ctx);// no allocations before this line!