Actually - that was the wrong header param.

I was not getting back what I expected and my apache server was returning a
valid enough looking redirect page.

The proxyserver attribute is your best bet.  I was able to pass this.
proxyserver="127.0.0.1" and get the correct results and the apache logs
shows the request came from itself ;-)

Wil Genovese



On Tue, Nov 18, 2008 at 12:33 PM, Wil Genovese <[EMAIL PROTECTED]> wrote:

> sure can - spoofing headers is pretty easy with cfhttp.
>
> set header params using cfhttpparam
>
> <cfhttpparam type="header" name="host" value="">
>
> I just did an experiment and when I use that setting the request does not
> even show up in the apache logs but I still get the page requested in the
> cfhttp.filecontent variable.
>
> By looking up the http 1.1 header specs you can experiment with which
> header fields you can set (spoof)
>
> Of course this knowledge is to only be used for educational purposes and I
> would never suggest you spoof your headers to steal content.
>
> Wil Genovese
> Sr. Web Application Developer
>
>
>
> On Tue, Nov 18, 2008 at 11:37 AM, Che Vilnonis <[EMAIL PROTECTED]> wrote:
>
>> When sending a cfhttp request, is it possible to mask/disable the IP
>> address
>> of the requesting ColdFusion server? I'm looking a build an app that grabs
>> RSS feeds, but I won't bother if I can't mask my server's IP. (One of the
>> sources frowns on scripts grabbing their feeds, even when done sparingly.)
>>
>> Thanks, CV
>>
>>
>>
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315438
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to