httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: httpd-2.0/server core.c
Date Sat, 18 May 2002 16:35:57 GMT
wrowe       02/05/18 09:35:57

  Modified:    server   core.c
    Although it appears reasonable to immediately gather the Error log and
    level from the config; these are per-vhost entities that can't be
    processed as we preload the config tree.  There is more work to do,
    as Cliff Woolley guesses, before we can make this change.
    In the meantime, -e and -E should provide the admin sufficient options
    to work around problematic configs.  So I'm reverting those changes,
    for now.
    ServerRoot is global only, and it MUST be read immediately, so that
    part of the last patch stays.
  Revision  Changes    Path
  1.180     +2 -2      httpd-2.0/server/core.c
  Index: core.c
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.179
  retrieving revision 1.180
  diff -u -r1.179 -r1.180
  --- core.c	18 May 2002 04:13:13 -0000	1.179
  +++ core.c	18 May 2002 16:35:57 -0000	1.180
  @@ -2921,7 +2921,7 @@
   AP_INIT_TAKE1("ServerRoot", set_server_root, NULL, RSRC_CONF | EXEC_ON_READ,
     "Common directory of server-related files (logs, confs, etc.)"),
   AP_INIT_TAKE1("ErrorLog", set_server_string_slot,
  -  (void *)APR_OFFSETOF(server_rec, error_fname), RSRC_CONF | EXEC_ON_READ,
  +  (void *)APR_OFFSETOF(server_rec, error_fname), RSRC_CONF,
     "The filename of the error log"),
   AP_INIT_RAW_ARGS("ServerAlias", set_server_alias, NULL, RSRC_CONF,
     "A name or names alternately used to access the server"),
  @@ -2941,7 +2941,7 @@
   AP_INIT_TAKE1("Include", include_config, NULL,
     "Name of the config file to be included"),
  -AP_INIT_TAKE1("LogLevel", set_loglevel, NULL, RSRC_CONF | EXEC_ON_READ,
  +AP_INIT_TAKE1("LogLevel", set_loglevel, NULL, RSRC_CONF,
     "Level of verbosity in error logging"),
   AP_INIT_TAKE1("NameVirtualHost", ap_set_name_virtual_host, NULL, RSRC_CONF,
     "A numeric IP address:port, or the name of a host"),

View raw message