|
|
On Fri, 30 Nov 2007 16:22:19 +0000 (UTC), wam4 wrote:
> I would prefer to use cfinclude but the site that has the page is on a remote
> location (but it is within our intranet) ie when I browse the server mappings
> at the CF Administrator I don't have that directory listed. Will I be able
> to
> simply Add a new mapping using their directory path? It's confusing me that
> I
> don't seem to be able to browse to their directory in CFAdministrator. Or
> can
> I only use CFHTTP? Thanks, Wendy
You should understand that the value of the template parameter you give
<cfinclude> is a *file system path*, not a URL. <cfinclude> is not
executing an HTTP request, it's fetching a file from the local file system.
It sounds like you probably *do* understand this, but am not sure.
So as Ian indicates, if you can use a UNC path in either the mapping or the
<cfinclude> (not sure about the latter, actually), provided the login that
the *CF SERVER* is using can see that resource. CF usually runs as
localsys or nobody, and those accounts seldom have permissions to other
server's resources. You might have to grant them file system permissions
first, or get the CF service to login as a different user, with more
appropriate permissions.
Make sense?
--
Adam
|
|