(ot) Coldfusion leads for cash
Folks, this is a little off topic but I'll try it here anyway and hope that Michael doesn't slap me down. CFWT has a new program for developers offering cash bonuses (10 month residual) for help with locating new customers. It's generous and easy to do. Check out this post on my blog. http://www.coldfusionmuse.com/index.cfm/2014/10/7/coldfusion-referrals-for-c ash Again, I apologize if someone has a huge problem with this self interested post :) I promise to do extra CF community service in penance. -Mark Mark Kruger - CFG CF Webtools http://www.cfwebtools.com www.cfwebtools.com http://www.coldfusionmuse.com www.coldfusionmuse.com O: 402.932.3318 E: mailto:mkru...@cfwebtools.com mkru...@cfwebtools.com Skype: markakruger ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359409 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFHTTP Host Header Issue
Hi All, I have a project that requires me to connect to a web server that requires a request header host value that is different from the URL of the request. For example... cfhttp url=http//www.domain1.com method=post chttpparam type=header name=Host value=www.domain2.com ... /cfhttpparam Does anyone know if cfhttp can send a separate Host in the header from the cfhttp url attribute? Thanks, Donnie Carvajal ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359410 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFHTTP Host Header Issue
this would be spoofing and is very easy to do. Whether or not you can do it via cfhttp I do not know, if not then try adding a cfheader as well. You should certainly be able to do it from the web server, I know on IIS you can use the URL rewrite tool to change OUTGOING requests as well as incoming. However the more legitimate way to do it, would be to simply add your other domain as an alias to the site, and use that to access the page, so it is a legitimate request. The domain name the request comes from should be the one sent in the host header. On Tue, Oct 7, 2014 at 5:25 PM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Hi All, I have a project that requires me to connect to a web server that requires a request header host value that is different from the URL of the request. For example... cfhttp url=http//www.domain1.com method=post chttpparam type=header name=Host value=www.domain2.com ... /cfhttpparam Does anyone know if cfhttp can send a separate Host in the header from the cfhttp url attribute? Thanks, Donnie Carvajal ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359411 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm