You can't do it without some additional code.

Read these posts about accessing files outside of your web root.

http://blog.pengoworks.com/index.cfm/2008/1/16/Invoke-CFCs-outside-of-webroo
t-without-mappings

http://www.bennadel.com/blog/1655-Ask-Ben-Dynamic-Web-Root-And-Site-URL-Calc
ulations-In-Application-cfc.htm



andy


-----Original Message-----
From: fun and learning [mailto:[email protected]] 
Sent: Saturday, March 12, 2011 2:13 PM
To: cf-talk
Subject: Jquery ajax and CFC ioutside webroot


Hi All -

Can I use jquery ajax to call a cfc that is located outside the webroot? I
tried it but I think it is trying to look for the cfc within web root. How
can I get it to point to a cfc outside the webroot?

Thanks 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:342956
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to