I am trying to get this to work with a coldfusion page I have, and IIS on a Win2003 server.
I have the following code in my coldfusion page:
<cfhttp url="search.cgi?#CGI.QUERY_STRING#" method="GET" timeout="10" throwOnError="yes">
<!--- display search results --->
<cfif IsDefined("CFHTTP.FileContent")>
<cfoutput>#CFHTTP.FileContent#</cfoutput>
</cfif>
Its failing though, I have a feeling it has to do with cgi file being allowed in IIS.
Can anyone tell me how I proceed with this? Anyone done this in CF before??
I have the following code in my coldfusion page:
<cfhttp url="search.cgi?#CGI.QUERY_STRING#" method="GET" timeout="10" throwOnError="yes">
<!--- display search results --->
<cfif IsDefined("CFHTTP.FileContent")>
<cfoutput>#CFHTTP.FileContent#</cfoutput>
</cfif>
Its failing though, I have a feeling it has to do with cgi file being allowed in IIS.
Can anyone tell me how I proceed with this? Anyone done this in CF before??
Comment