|
|
| version 1.19, 2017/02/07 22:00:45 | version 1.22, 2021/01/20 16:48:34 |
|---|---|
| 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-2020 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| 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); |