rse 98/10/03 07:42:29
Modified: src CHANGES src/main http_request.c Log: Fix the SERVER_NAME variable under sub-request situations (where `UseCanonicalName off' is used) like CGI's called from SSI pages or RewriteCond variables by adopting r->hostname to sub-requests. Submitted by: James Grinter <[EMAIL PROTECTED]> Reviewed by: Ralf S. Engelschall PR: 3111 Revision Changes Path 1.1093 +5 -0 apache-1.3/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.1092 retrieving revision 1.1093 diff -u -r1.1092 -r1.1093 --- CHANGES 1998/10/03 14:07:07 1.1092 +++ CHANGES 1998/10/03 14:42:23 1.1093 @@ -1,5 +1,10 @@ Changes with Apache 1.3.3 + *) Fix the SERVER_NAME variable under sub-request situations (where + `UseCanonicalName off' is used) like CGI's called from SSI pages or + RewriteCond variables by adopting r->hostname to sub-requests. + [James Grinter <[EMAIL PROTECTED]>] PR#3111 + *) Fix stderr redirection under syslog-based error logging situation. [Youichirou Koga <[EMAIL PROTECTED]>] PR#3095 1.132 +2 -0 apache-1.3/src/main/http_request.c Index: http_request.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/http_request.c,v retrieving revision 1.131 retrieving revision 1.132 diff -u -r1.131 -r1.132 --- http_request.c 1998/10/01 04:14:42 1.131 +++ http_request.c 1998/10/03 14:42:28 1.132 @@ -676,6 +676,7 @@ char *udir; rnew = make_sub_request(r); + rnew->hostname = r->hostname; rnew->request_time = r->request_time; rnew->connection = r->connection; rnew->server = r->server; @@ -753,6 +754,7 @@ char *fdir; rnew = make_sub_request(r); + rnew->hostname = r->hostname; rnew->request_time = r->request_time; rnew->connection = r->connection; rnew->server = r->server;