couple things...
You are going to have to experiment, I don't remember if the
tcfsearchpath is always relative to the webroot, or the current taf/
tml. You will have to check.
There is no other way to do it, if your tcf path is outside root, you
have to use these types of relative paths.
If memory serves me, and it don't always ;-), tcfsearch path is always
relative to root, not the taf/tml, but I could be mistaken. Just run a
couple of tests and you will figure that out quick.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On Dec 12, 2007, at 8:36 AM, MC Tay wrote:
Thanks Robert.
It looks like the TCFSEARCHPATH only recognizes relative path. Do
you think the following scenario is the right way of doing it?
I also have TAF in subdirectory calling the TCF. For example:
My TCF is in the \\webroot\mydir\tcf
My TAF is in the \\webroot\about\benefits, where "benefits" is the
subdirectory of "about".
I have to setup the TCFSEARCHPATH as follows:
../mydir/tcf to allow the taf file in the "about" directory to call
the TCF, and
../../mydir/tcf for the taf file in the "benefits" to call the TCF.
It works, but don't quite like the long relative path if I have more
subdirectories.
MC
At 01:20 AM 12/12/2007, you wrote:
You can have it out of your webroot, Thats what I do. So lets say all
your sites are in folders like this:
\\server\websites\site_a\
\\server\websites\site_b\
etc, each is its own domain, virtual site. Now the tcfs are here:
\\server\websites\tcfs\
It is not in the root of any of the sites, but all sites can access
them, just use this as your tcfsearchpath.
/../tcfs/
This will back out one level from root, and into tcfs. It works, I
have been doing this for years.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On Dec 11, 2007, at 10:00 PM, MC Tay wrote:
Dale:
Thanks for the responses.
It doesn't seem to work with virtual directory in IIS.
In your case do you have the /nidb/compile/tcfs path physically
below your webroot?
It works if I setup the TCF path physically below my webroot, but
not as a virtual directory. Is that how it supposed to work or did I
do something wrong?
Thanks!
MC
At 05:05 AM 12/11/2007, you wrote:
The server needs to know where to look for the TCF files. This is
set
in the witango.ini file. The default (already set there) is in the
same directory, but you can add other locations as appropriate to
your
situation.
This is what's in our directory for TCFSEARCHPATH. We have left the
defaults and put our main location for TCFs *first* in the list.
Note
that the location starts at webroot
TCFSEARCHPATH=/nidb/compile/tcfs/;<@APPFILEPATH>;<@CLASSFILEPATH>;/
Witango/TCF/
Check out the Witango documentation for this and other details, esp
about setting up your server.
On Dec 10, 2007, at 10:20 PM, MC Tay wrote:
Hi:
I'm somewhat a rookie when it comes to TCF. Does TAF and TCF files
have to be in the same directory for it to work? The execution of
the TAF file fails when I put the TCF file in other directory.
Thanks!
MC
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/
maillist.taf
-
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf