httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_core.c
Date Sun, 24 Sep 2000 20:13:43 GMT
wrowe       00/09/24 13:13:43

  Modified:    src/main http_core.c
  Log:
    Return a decent message, in keeping with conf parsing semantics.
  
  Revision  Changes    Path
  1.133     +3 -2      apache-2.0/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_core.c,v
  retrieving revision 1.132
  retrieving revision 1.133
  diff -u -r1.132 -r1.133
  --- http_core.c	2000/09/24 13:04:31	1.132
  +++ http_core.c	2000/09/24 20:13:42	1.133
  @@ -2469,8 +2469,9 @@
       } else if (!strcasecmp(arg, "script")) {
           d->script_interpreter_source = INTERPRETER_SOURCE_SHEBANG;
       } else {
  -        ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, cmd->server,
  -                     "%s option %s is invalid", cmd->cmd->name, arg);
  +        return ap_pstrcat(cmd->temp_pool, "ScriptInterpreterSource \"", arg, 
  +                          "\" must be \"registry\", \"registry-strict\" or "
  +                          "\"script\"", NULL);
       }
       return NULL;
   }
  
  
  

Mime
View raw message