diff options
Diffstat (limited to 'modules/generators/mod_cgi.c')
-rw-r--r-- | modules/generators/mod_cgi.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index 463f076359..c8dc170ebc 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -756,13 +756,6 @@ static int cgi_handler(request_rec *r) p = r->main ? r->main->pool : r->pool; - if (r->method_number == M_OPTIONS) { - /* 99 out of 100 CGI scripts, this is all they support */ - r->allowed |= (AP_METHOD_BIT << M_GET); - r->allowed |= (AP_METHOD_BIT << M_POST); - return DECLINED; - } - argv0 = apr_filepath_name_get(r->filename); nph = !(strncmp(argv0, "nph-", 4)); conf = ap_get_module_config(r->server->module_config, &cgi_module); |