Yup, both ideas are good and work well. You can path into a folder which the web server doesn't have permissions to get to but Witango does for added security (and the ability to purge just your TCFs and not other TAFs if you need to), as well as ../ up the tree out of your root web folder (from Witango's perspective) and get to common folders. I do both quite a bit on my servers and it works very well.
Robert -----Original Message----- From: William M Conlon [mailto:[EMAIL PROTECTED] Sent: Saturday, June 17, 2006 4:46 PM To: [email protected] Subject: Re: Witango-Talk: TCF Class Path I see. This confirms the documentation which says the TCFSearchPath must be relative to a web root. Thanks. On Jun 17, 2006, at 1:11 PM, Robert Garcia wrote: > We have several TCFs that are global, for many sites, so we have a > folder calles SITES, where each folder within is a virtual site. > One of them is a folder called TCFs. The classpath to catch that is > "../tcfs". > > -- > > 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 Jun 17, 2006, at 12:11 PM, William M Conlon wrote: > >> As I'm getting closer to beta on a major application, I've been >> thinking a lot about the TCF Class Path. It seems to me that I >> can use the class path configuration to completely remove my TCFs, >> and hence all my sql out of my web document root. This would be >> similar to ScriptAlias for cgi and other executables. >> >> And I can also set permission to read only by the witango user, >> (shell = /sbin/nologin ) to further protect the code from >> accidental exposure. >> >> Are there any other suggestions or good practices? >> >> thanks. >> >> >> Bill >> >> William M. Conlon, P.E., Ph.D. >> To the Point >> 345 California Avenue Suite 2 >> Palo Alto, CA 94306 >> vox: 650.327.2175 (direct) >> fax: 650.329.8335 >> mobile: 650.906.9929 >> e-mail: mailto:[EMAIL PROTECTED] >> web: http://www.tothept.com >> >> _____________________________________________________________________ >> ___ >> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > > ______________________________________________________________________ > __ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf Bill William M. Conlon, P.E., Ph.D. To the Point 345 California Avenue Suite 2 Palo Alto, CA 94306 vox: 650.327.2175 (direct) fax: 650.329.8335 mobile: 650.906.9929 e-mail: mailto:[EMAIL PROTECTED] web: http://www.tothept.com ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
