httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject re: [BUG]: "errordocument gets overriden" on Irix
Date Thu, 27 Feb 1997 12:01:19 GMT
Give this a try.

Dean

---------- Forwarded message ----------
Date: Wed, 26 Feb 1997 00:10:59 -0800 (PST)
From: Dean Gaudet <dgaudet@arctic.org>
Reply-To: new-httpd@hyperreal.com
To: new-httpd@hyperreal.com
Subject: Re: [BUG]: "ErrorDocument appears to break in 1.2b7" on Solaris 2.x

Aw shoot.  Goofup in my optimization patch.  Try this.

Dean

Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.70
diff -c -3 -r1.70 http_core.c
*** http_core.c	1997/02/17 10:46:06	1.70
--- http_core.c	1997/02/26 07:59:44
***************
*** 120,125 ****
--- 120,131 ----
      int i;
    
      memcpy ((char *)conf, (const char *)base, sizeof(core_dir_config));
+     if( base->response_code_strings ) {
+ 	conf->response_code_strings = palloc(a,
+ 	    sizeof(*conf->response_code_strings) * RESPONSE_CODES );
+ 	memcpy( conf->response_code_strings, base->response_code_strings,
+ 	    sizeof(*conf->response_code_strings) * RESPONSE_CODES );
+     }
      
      conf->d = new->d;
      conf->d_is_matchexp = new->d_is_matchexp;



Mime
View raw message