> After digging more into this problem it appears that the 
> problem is in the CFHTTP tag and poor documentation. The 
> Username and Password parameters are apparently not for 
> the Proxy server authentication but for accessing a restricted 
> page at the URL location. Please tell me I'm wrong but 
> that is what I'm picking up from other readings.
> 
> This seems nearly useless to me as most proxy servers will 
> have authentication required, wouldn't they? I know our company 
> does. I do a <CFDUMP> of the CFHTTP variable after trying 
> and the error I get is "407 Proxy Authentication Required" 
> for status code. I have specified correct Username and 
> Password for our proxy server and I get this.
> 
> Macromedia, you need to be more clear in your Reference 
> documentation!

While I'm not normally one to stick up for the great quality of MM
documentation, a cursory knowledge of HTTP clients will indicate that
USERNAME and PASSWORD are for Basic Authentication against the target
server. To the best of my knowledge, there's no support with CFHTTP for
using proxies that require authentication.

As for whether most people use authentication at the proxy server for
outbound requests, I have no idea, really, but it's probably not as common
as you'd think. In any case, typically you'd have your CF servers somewhere
other than your internal network (a DMZ perhaps) so they wouldn't need to
use an outbound proxy (or at least, not the same outbound proxy as internal
users).

You can probably circumvent this limitation by using a Java approach - the
java.net libraries are pretty complete. You might just write a Java CFX
wrapper for outbound HTTP requests.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to