Title:
CGI.path_info is coming as empty string when url rewrite condition uses {PATH_INFO} in IIS
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (Evelin Varghese)
Created: 08/08/2012
Components: Installation/Config, Connector
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: 10-final / 282710
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Mac 10 All,Win XP All
Vote Count: 0
Problem:CGI.path_info is coming as empty string when url rewrite condition uses {PATH_INFO} in IIS
Method:
Configure connector with IIS site.
Install url-rewrite module for IIS.
Add inbound rule with following settings-
REuqested URL: Mathces Pattern-
Using: Regular Expressions
Pattern: [a-z]
Action Type: Rewrite
Rewrite URL: /bug/index.cfm{PATH_INFO}
In the webroot of the iis site create a directory named bug and add an index.cfm with code
<cfdump var="#CGI.PATH_INFO#">
now access the following url
http://<serverip>:<port>/var12/var34
Result:
CGI.PATH_INFO is empty string
Expected:
CGI.PATH_INFO should be var12/var34
Workaround:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3305486
Keywords:
FixTested
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: