You could always create a set location (eg: a /lib/scripts folder) and copy
them there.
Using the scriptsrc attribute allows you to reference a folder out of your
webroot but for security reasons I wouldn't do that my self.
Just create a general folder for trusted scripts and reference that instead.
Peter Tilbrook
ColdGen Internet Solutions
Manager, ACT and Region ColdFusion Users Group
PO Box 2247
Queanbeyan, NSW, 2620
AUSTRALIA
WWW 1: http://www.coldgen.com/
WWW 2: http://www.actcfug.com/
Telephone: +61-2-6284-2727
Mobile: 0432 897 437
E-mail: [EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Knox
Sent: Friday, 27 May 2005 10:56 PM
To: [email protected]
Subject: RE: CFIDE directory
Thank you Peter. I may try that but I'll continue looking into how to set
it where there don't have to be multiple virtual directories that point to
CFIDE.
I'll let you know when I figure it out.
Cheers,
Mark
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Peter Tilbrook
Sent: Thursday, May 26, 2005 8:36 AM
To: [email protected]
Subject: RE: CFIDE directory
Use the "scriptsrc" attribute of CFFORM.
Eg:
<cfform name="myform" action="mypage.cfm" scriptsrc="lib/cfform.js">
etc
Peter Tilbrook
ColdGen Internet Solutions
Manager, ACT and Region ColdFusion Users Group PO Box 2247 Queanbeyan, NSW,
2620 AUSTRALIA
WWW 1: http://www.coldgen.com/
WWW 2: http://www.actcfug.com/
Telephone: +61-2-6284-2727
Mobile: 0432 897 437
E-mail: [EMAIL PROTECTED]
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Knox
Sent: Thursday, 26 May 2005 10:46 PM
To: [email protected]
Subject: CFIDE directory
Howdy team,
I feel dumb asking this question because I've run into it before and can't
find my notes on how to fix it. Anyway, my current install of CFMX 7
insists on creating virtual directories for each web site pointing to my
common CFIDE directory location (in order to find the CFIDE/scripts anyway).
I know in CFMX 6.1 I don't have to have those virtual directories and CFMX
uses the single virtual directory I have set up in the default web. How do
I configure CFMX 7 to just use the one virtual directory? The problem is,
in order to use the features provided by <cfform>,<cfinput> (and others),
CFMX has to be able to get to the /CFIDE/scripts folder. If I remove the
virtual directories from each web, it can no longer find CFIDE for templates
in those webs that require it.
I remember working with MM on this way back when and there is some setting
in a CFMX startup XML file (i think) that controls this.
Any help would greatly be appreciated.
Mark
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm