I've tried to look through the archive on this but I'm not really
finding my answers...
Has anyone had issues with CFHTTP and MX? I'm tryin to make a call like so:
<cfif len(url.page)>
<cfset varURL =
"http://216.239.35.120/translate_c?hl=en&ie=UTF-8&oe=UTF-8&langpair=en%7Ces&u=http://atlantis.dmvwebhosting.com/#trim(url.page)#&prev=/language_tools">
<cfhttp method="GET" url="#varURL#" port="8080"></cfhttp>
<cfoutput>#cfhttp.filecontent#</cfoutput>
</cfif>
I keep getting a "Connection Failure" message. The exact same code works
fine on another (4.5) server, but I can't move this site. When I set the
redirect="No" throwonerror="yes", but don't wrap the tag in a
cftry/cfcatch I get a "403 Forbidden" error. But, if I cut and paste the
variable being passed (the true varURL) into a browser window I get the
page. When I do the same from a browser on the site's server I also get
the page. Only when calling it from within the CFHTTP does it fail.
Several posts within MM's forums suggested changing the port attribute.
I have tried this without the port attribute, and with it set to "80"
and also "8080" to no avail. MX running on a Win2K IIS5.0 config. Any
suggestions?
Cutter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm