Browse Source

this will be handled elsewhere

experimental/threaded
Hartmut Holzgraefe 24 years ago
parent
commit
c4cb92229c
  1. 8
      sapi/apache/mod_php4.c

8
sapi/apache/mod_php4.c

@ -500,14 +500,6 @@ static int send_php(request_rec *r, int display_source_mode, char *filename)
zend_hash_apply((HashTable *) per_dir_conf, (apply_func_t) php_apache_alter_ini_entries TSRMLS_CC);
}
/* We don't accept OPTIONS requests, but take everything else */
if (!PG(allow_webdav_methods)) {
if (r->method_number == M_OPTIONS) {
r->allowed |= (1 << METHODS) - 1;
return DECLINED;
}
}
/* If PHP parser engine has been turned off with an "engine off"
* directive, then decline to handle this request
*/

Loading…
Cancel
Save