--- parser3/src/targets/isapi/parser3isapi.C 2002/03/27 15:30:38 1.67 +++ parser3/src/targets/isapi/parser3isapi.C 2002/05/06 10:53:54 1.70 @@ -4,7 +4,7 @@ Copyright (c) 2000,2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - $Id: parser3isapi.C,v 1.67 2002/03/27 15:30:38 paf Exp $ + $Id: parser3isapi.C,v 1.70 2002/05/06 10:53:54 paf Exp $ */ #ifndef _MSC_VER @@ -311,7 +311,12 @@ void real_parser_handler(Pool& pool, LPE Request request(pool, request_info, String::UL_HTML|String::UL_OPTIMIZE_BIT, - false /* status_allowed */); +#ifdef _DEBUG + true +#else + false +#endif + /* status_allowed */); // some root-controlled location // c:\windows @@ -340,8 +345,8 @@ void real_parser_handler(Pool& pool, LPE // process the request request.core( - root_config_filespec, false /*don't fail_on_read_problem*/, // /path/to/root/parser3.conf - site_config_filespec, false /*don't fail_on_read_problem*/, // /path/to/site/parser3.conf + root_config_filespec, false /*fail_on_read_problem*/, // /path/to/root/parser3.conf + site_config_filespec, false /*fail_on_read_problem*/, // /path/to/site/parser3.conf header_only); } @@ -403,7 +408,7 @@ DWORD WINAPI HttpExtensionProc(LPEXTENSI int header_len=snprintf(header_buf, MAX_STRING, "content-type: text/plain\r\n" "content-length: %lu\r\n" - "expires: Fri, 23 Mar 2001 09:32:23 GMT\r\n" +// "expires: Fri, 23 Mar 2001 09:32:23 GMT\r\n" "\r\n", content_length);