You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1997/01/15 20:54:00 UTC
[PATCH] "PATH_INFO variable not set when using serverside includes" on Solaris 2.xSolaris (fwd)
+1
On Mon, 13 Jan 1997, Alexei Kosut wrote:
> Awright already, here's a patch:
>
Index: util_script.c
===================================================================
RCS file: /export/home/cvs/apache/src/util_script.c,v
retrieving revision 1.38
diff -c -r1.38 util_script.c
*** util_script.c 1997/01/10 09:34:44 1.38
--- util_script.c 1997/01/14 05:47:21
***************
*** 243,249 ****
* 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);
--- 243,253 ----
* 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);
Re: [PATCH] "PATH_INFO variable not set when using serverside includes" on Solaris 2.xSolaris (fwd)
Posted by "Jason A. Dour" <ja...@bcc.louisville.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
On Wed, 15 Jan 1997, Rob Hartill wrote:
> +1
+1 as well. Uofl will be very happy now. 8)
jason
# Jason A. Dour <ja...@bcc.louisville.edu> 1101
# Programmer Analyst II; Department of Radiation Oncology; Univ. of Lou.
# Finger for URLs, PGP public key, geek code, PJ Harvey info, et cetera.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMt1Gypo1JaC71RLxAQFBOgQAoOXN109Rq6PFQbg27b0wIKFuEWDM18J8
Nm1EPaYYL2pCvL5UMps369Jyh2BfKXTcs1tukvezYranWF8m3IpvhhozCfaGY8V1
76YqFEQEqQ8kc3+LSv5Glsm83MljkFLYLEN+jraj3epljD1oPAvqL5ZC0LLWCKNB
vZdAjFKROWU=
=w3a2
-----END PGP SIGNATURE-----