Searched refs:env_script_name (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1135 char *env_script_name = CGI_GETENV("SCRIPT_NAME"); local
1142 env_script_name &&
1145 strncmp(env_path_info, env_script_name, strlen(env_script_name)) == 0
1148 env_path_info += strlen(env_script_name);
1163 char *orig_script_name = env_script_name;
1183 env_script_name = env_redirect_url;
1290 } else if ( env_script_name &&
1291 strstr(pt, env_script_name)
1294 size_t ptlen = strlen(pt) - strlen(env_script_name);
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1027 char *env_script_name = sapi_cgibin_getenv("SCRIPT_NAME", sizeof("SCRIPT_NAME") - 1); local
1032 env_script_name &&
1035 strncmp(env_path_info, env_script_name, strlen(env_script_name)) == 0
1038 env_path_info += strlen(env_script_name);
1081 char *orig_script_name = env_script_name;
1104 env_script_name = env_redirect_url;
1180 } else if (apache_was_here && env_script_name) {
1185 int snlen = strlen(env_script_name);
1186 if (snlen>slen && !strcmp(env_script_name
[all...]

Completed in 6 milliseconds