httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@imdb.com (Rob Hartill)
Subject Re: Removing AccessConfig and ResourceConfig dependency
Date Sun, 22 Dec 1996 22:36:04 GMT
Randy Terbush wrote:
>
>Could we get a vote on this patch as well?

Shouldn't it warn that the files it was expecting aren't there ?

Is there a problem with setting them to /dev/null ?


>*** ../../../official/apache-1.2/apache/src/http_config.c	Thu Dec  5 06:00:56 1996
>--- http_config.c	Mon Dec  9 15:46:20 1996
>***************
>*** 720,727 ****
>--- 720,734 ----
>      FILE *cfg;
>      const char *errmsg;
>      cmd_parms parms;
>+     struct stat finfo;
>      
>      fname = server_root_relative (p, fname);
>+ 
>+     if (!(strcmp(fname, server_root_relative(p, RESOURCE_CONFIG_FILE))) ||
>+ 	!(strcmp(fname, server_root_relative(p, ACCESS_CONFIG_FILE)))) {
>+ 	if (stat(fname, &finfo) == -1)
>+ 	    return;
>+     }
>      
>      /* GCC's initialization extensions are soooo nice here... */
>      
>
>
>


-- 
Rob Hartill.       Internet Movie Database Ltd.    http://www.imdb.com/  

Mime
View raw message