<div dir="ltr">As for rfc3875, we need to parse SCRIPT_NAME and PATH_INFO from Script-URI. But I am confused with how to split these two vars from URI.<div><br></div><div>e.g. <font face="arial, helvetica, sans-serif">, given  <span style="color:rgb(0,0,0);font-size:14px;line-height:17.92px;background-color:rgb(249,249,249)">/cgi-bin/<a href="http://env.pl/foo/bar">env.pl/foo/bar</a>, </span></font></div><div>One possible splitting is SCRIPT_NAME = &quot;<span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:14px;line-height:17.92px;background-color:rgb(249,249,249)">/cgi-bin/<a href="http://env.pl">env.pl</a>&quot;  </span>PATH_INFO = &quot;<span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:14px;line-height:17.92px;background-color:rgb(249,249,249)">/foo/bar</span>&quot;</div><div>Another splitting is  SCRIPT_NAME = &quot;<span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:14px;line-height:17.92px;background-color:rgb(249,249,249)">/cgi-bin/<a href="http://env.pl">env.pl</a></span><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:14px;line-height:17.92px;background-color:rgb(249,249,249)">/foo</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:14px;line-height:17.92px;background-color:rgb(249,249,249)">&quot;  </span>PATH_INFO = &quot;<span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:14px;line-height:17.92px;background-color:rgb(249,249,249)">/bar</span>&quot;</div></div>