--- parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/07/25 10:57:58 1.37 +++ parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/08/09 08:45:17 1.40 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) */ -static const char *RCSId="$Id: mod_parser3.C,v 1.37 2001/07/25 10:57:58 parser Exp $"; +static const char *RCSId="$Id: mod_parser3.C,v 1.40 2001/08/09 08:45:17 parser Exp $"; #include "httpd.h" #include "http_config.h" @@ -149,7 +149,7 @@ void SAPI::add_header_attribute(Pool& po } else if(strcasecmp(key, "status")==0) r->status=atoi(value); else - ap_table_merge(r->headers_out, key, value); + ap_table_addn(r->headers_out, key, value); } void SAPI::send_header(Pool& pool) { @@ -175,8 +175,11 @@ void SAPI::send_body(Pool& pool, const v @todo intelligent cache-control */ -static int parser_handler(request_rec *r) -{ +static int parser_handler(request_rec *r) { +// _asm int 3; + if(r->finfo.st_mode == 0) + return NOT_FOUND; + Pool pool(r->pool); pool.set_context(r); @@ -294,7 +297,7 @@ static int parser_handler(request_rec *r */ static void setup_module_cells() { - static bool globals_inited=false; + static bool globals_inited=false; if(globals_inited) return; globals_inited=true;