brian 97/01/15 23:57:30
Modified: src util_script.c Log: Reviewed by: Rob Hartill, Jim Jagielski, Jason A. Dour Submitted by: Alexei Kosut Revision Changes Path 1.40 +5 -1 apache/src/util_script.c Index: util_script.c =================================================================== RCS file: /export/home/cvs/apache/src/util_script.c,v retrieving revision 1.39 retrieving revision 1.40 diff -C3 -r1.39 -r1.40 *** util_script.c 1997/01/14 05:57:27 1.39 --- util_script.c 1997/01/16 07:57:29 1.40 *************** *** 242,248 **** * come with the script URI in the include command. Ugh. */ ! if (!r->path_info || !*r->path_info || !strcmp (r->protocol, "INCLUDED")) { table_set (e, "SCRIPT_NAME", r->uri); } else { int path_info_start = find_path_info (r->uri, r->path_info); --- 242,252 ---- * come with the script URI in the include command. Ugh. */ ! if (!strcmp (r->protocol, "INCLUDED")) { ! table_set (e, "SCRIPT_NAME", r->uri); ! if (r->path_info && *r->path_info) ! table_set (e, "PATH_INFO", r->path_info); ! } else if (!r->path_info || !*r->path_info) { table_set (e, "SCRIPT_NAME", r->uri); } else { int path_info_start = find_path_info (r->uri, r->path_info);