Diff for /parser3/src/targets/apache/mod_parser3.c between versions 1.19 and 1.26

version 1.19, 2017/02/07 22:00:45 version 1.26, 2026/04/25 13:38:46
Line 1 Line 1
 /** @file  /** @file
         Parser: apache 1.3 and 2.2 module          Parser: apache 1.3 and 2.2 module
   
         Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com)          Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com)
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru>
 */  */
   
 #include "httpd.h"  #include "httpd.h"
Line 79  static int parser_handler(request_rec *r Line 79  static int parser_handler(request_rec *r
                 return DECLINED;                  return DECLINED;
   
         if(is_threaded){          if(is_threaded){
                 const char *message="Parser3 module requires apache2-mpm-prefork";                  const char *message="Parser3 module requires 'a2enmod mpm_prefork'";
                 r->status=HTTP_INTERNAL_SERVER_ERROR;                  r->status=HTTP_INTERNAL_SERVER_ERROR;
                 r->content_type="text/plain";                  r->content_type="text/plain";
                 ap_rwrite(message, strlen(message), r);                  ap_rwrite(message, strlen(message), r);
Line 157  static void *parser_create_server_config Line 157  static void *parser_create_server_config
 */  */
 static const command_rec parser_cmds[] =  static const command_rec parser_cmds[] =
 {  {
         {"ParserConfig", (const char *(*)())cmd_parser_config, 0, OR_OPTIONS, TAKE1, "Parser config filespec"},          {"ParserConfig", (const char *(*)(cmd_parms *, void *))cmd_parser_config, 0, OR_OPTIONS, TAKE1, "Parser config filespec"},
         {NULL}          {NULL}
 };  };
   

Removed from v.1.19  
changed lines
  Added in v.1.26


E-mail: