You can add one or more additional custom tag directories to
ColdFusion's search path by opening up your registry and changing the
following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\CustomTags
\CFMLTagSearchPath

You can set this key using a comma-delimited list of file paths.  And
this also applies to you Solaris users out there.  The order that you
list them in will also be the order that ColdFusion scans them.  A note
of caution on this - if you have CFM files with the same name in more
than one of these directories, you will get a series of "occlude"
messages in your application.log file every time you start ColdFusion.
These are just to let you know that ColdFusion will only pay attention
to the first file it scanned with a particular name.

As an example, say I have this:

HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\CustomTags
\CFMLTagSearchPath = 
c:\cfusion\customtags,d:\morecustomtags

And I have the following files:

c:\cfusion\customtags\objectpackager\objectpacker.cfm
c:\cfusion\customtags\objectpackager\objectpicker.cfm
d:\morecustomtags\objectpicker.cfm

You're going to get an occlude warning about the third file saying that
ColdFusion will choose to run the first "objectpicker.cfm" file that it
scanned when you write a call to <cf_objectpicker>

Also, if you're adding a lot of custom tags, be sure to bump up your
template cache setting in ColdFusion a bit.  Otherwise, ColdFusion will
start doing a lot of cache popping in order to manage memory and this
can slow CF down.

Hope this helps.  By the way, I should introduce myself as I'm new to
the list.  My name is Tyson Vanek and I'm the Technical Lead here at
duoDesign (www.duodesign.com) in Evanston.  I've been working with
ColdFusion since July of 1995 (betas of 1.0) and additionally worked for
Allaire for a little over a year as a Senior Consultant in their
consulting services division.  I look forward to contributing to the
list.

Thanks,
Tyson


-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 6:11 PM
To: CF-Server
Subject: RE: Unsecured tags directory - how do you add more than one?


> I know this has been brought up before, but I couldn't find it 
> in the archive... how do I add more than one directiory path 
> to the "Unsecured tags directory" entry?
> 
> I tried adding another one with a , as the delimiter, & it 
> crapped out. Think I tried ; too.
> 
> Anyone know?

I don't think you can. I also think that this is intentional. The
purpose of
this entry is to allow you to run the CF Administrator and still be able
to
limit the use of tags like CFCONTENT and CFOBJECT that are potentially
security problems.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to