Lines Matching refs:env_path_info
1192 char *env_path_info = CGI_GETENV("PATH_INFO"); local
1201 env_path_info &&
1203 strncmp(env_path_info, env_script_name, strlen(env_script_name)) == 0
1205 env_path_info = CGI_PUTENV("ORIG_PATH_INFO", env_path_info);
1206 env_path_info += strlen(env_script_name);
1207 if (*env_path_info == 0) {
1208 env_path_info = NULL;
1210 env_path_info = CGI_PUTENV("PATH_INFO", env_path_info);
1220 char *orig_path_info = env_path_info;
1286 size_t pilen = env_path_info ? strlen(env_path_info) : 0;
1287 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL;
1297 strcmp(orig_script_name, env_path_info) != 0) {
1301 SG(request_info).request_uri = CGI_PUTENV("SCRIPT_NAME", env_path_info);
1307 env_path_info = CGI_PUTENV("PATH_INFO", path_info);
1336 path_translated_len = l + (env_path_info ? strlen(env_path_info) : 0);
1339 if (env_path_info) {
1340 memcpy(path_translated + l, env_path_info, (path_translated_len - l));
1353 size_t path_translated_len = ptlen + (env_path_info ? strlen(env_path_info) : 0);
1357 if (env_path_info) {
1358 memcpy(path_translated + ptlen, env_path_info, path_translated_len - ptlen);
1428 if (env_path_info) {
1429 SG(request_info).request_uri = env_path_info;