Greetings list,

I had a working call to cfhttp w/ resolveurl set to true.  The target is a
data/graphing collector in our intranet.  The CF template grabbed the page
and I redisplayed it with the images (which live in the same web dir)
without a problem. 

Now for some reason the image links are broken, but the rest of the page is
fine.  When I check the html source on the browser, I see that the image
links are not resolved correctly.  The common problem is that the fetched
page is inserted into the path of the image.  For example, if the fetched
page is "http://myserver/mypage.html"; and the image lives directly under the
root, the resolved link to the image becomes
"http://myserver:80/mypage.html/myimage.jpg";  when is should be
"http://myserver:80/myimage.jpg";.  If I point my browser directly at the
targeted page, it looks fine.

I am running CF 5.0 pro on Win2k / IIS 5.0.  The target is RH 6.1 / Apache
1.3.6.  I am not sure when the application broke as it was reported by a
user and the last time I checked it was a year ago when the CF server was
4.5 pro on NT 4.5 and IIS 4.0

The code snippet looks like this:
<cfhttp url="http://myserver/mypage.html";
        method="GET"
        resolveurl="true"
        timeout="10"
        throwonerror="yes">

I look forward to hearing your thoughts on this.
Thanks
Mike
______________________________________________________________________
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=coldfusiona
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