• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/apache-793/httpd/modules/generators/

Lines Matching refs:conf

118     cgi_server_conf *conf = ap_get_module_config(s->module_config,
121 conf->logname = ap_server_root_relative(cmd->pool, arg);
123 if (!conf->logname) {
135 cgi_server_conf *conf = ap_get_module_config(s->module_config,
138 conf->logbytes = atol(arg);
146 cgi_server_conf *conf = ap_get_module_config(s->module_config,
149 conf->bufbytes = atoi(arg);
164 static int log_scripterror(request_rec *r, cgi_server_conf * conf, int ret,
176 if (!conf->logname ||
177 ((apr_stat(&finfo, conf->logname,
179 (finfo.size > conf->logbytes)) ||
180 (apr_file_open(&f, conf->logname,
220 static int log_script(request_rec *r, cgi_server_conf * conf, int ret,
238 if (!conf->logname ||
239 ((apr_stat(&finfo, conf->logname,
241 (finfo.size > conf->logbytes)) ||
242 (apr_file_open(&f, conf->logname,
391 core_dir_config *conf = ap_get_core_module_config(r->per_dir_config);
432 conf->limit_cpu)) != APR_SUCCESS) ||
436 conf->limit_mem)) != APR_SUCCESS) ||
440 conf->limit_nproc)) != APR_SUCCESS) ||
757 cgi_server_conf *conf;
774 conf = ap_get_module_config(r->server->module_config, &cgi_module);
777 return log_scripterror(r, conf, HTTP_FORBIDDEN, 0,
780 return log_scripterror(r, conf, HTTP_FORBIDDEN, 0,
784 return log_scripterror(r, conf, HTTP_NOT_FOUND, 0,
787 return log_scripterror(r, conf, HTTP_FORBIDDEN, 0,
794 return log_scripterror(r, conf, HTTP_NOT_FOUND, 0,
800 return log_scripterror(r, conf, HTTP_FORBIDDEN, 0,
842 if (conf->logname) {
843 dbuf = apr_palloc(r->pool, conf->bufbytes + 1);
888 if (conf->logname && dbpos < conf->bufbytes) {
891 if ((dbpos + len) > conf->bufbytes) {
892 cursize = conf->bufbytes - dbpos;
915 if (conf->logname) {
949 ret = log_script(r, conf, ret, dbuf, sbuf, bb, script_err);