Re: IIS Virtual DIrectories and Shared Scope Vars

2007-05-10 Thread Ben Shichman
That was it - there was a default mapping i overlooked on that machine to \ - 
removing it fixed the problem.

Sometimes you can stare at things too long!

 1 :
 2 : cfinclude template=/application.cfm
 3 :
 
 
 For my life, I cannot figure out why. On the server that DOES 
 work, we have no special CUSTOM TAG PATHS, no MAPPINGS,.and 
 it works joyfully - its only on this new server.

I'm fairly certain you're wrong about that. Any time you use a slash as the
first character within the path for CFINCLUDE or CFMODULE, the path is
always resolved via a mapping. I strongly suspect that you have at least one
mapping; the one that comes with a default install of CF, and is mapped to
wherever you specified as your web root during the install.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277680
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: IIS Virtual DIrectories and Shared Scope Vars

2007-05-10 Thread Andrew Scott
So true...



On 5/11/07, Ben Shichman [EMAIL PROTECTED] wrote:

 That was it - there was a default mapping i overlooked on that machine to
 \ - removing it fixed the problem.

 Sometimes you can stare at things too long!




~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277688
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: IIS Virtual DIrectories and Shared Scope Vars

2007-05-09 Thread Andrew Scott
hmm...

Depending on the App you might get away with a CF mapping instead, but the
issue is simple.

All it is, is a directory structure that will be included as part of the
website. So when the code is run in there it should run using the same
Application.cfm / Application.cfc that is used from the calling Application.

So what does that mean, remove the need for Application.cfm altogether from
your common VD.



On 5/10/07, Ben Shichman [EMAIL PROTECTED] wrote:

 Hello

 I posted this about a year ago, but got it working on a server of ours -
 now on a new server, same problem, and cant figure out why.

 Very simple:

 We have multiple sites:

 Site 1
 Site 2
 Site 3
 Etc...

 Each is in its own directory structure, has its own application.cfm, etc.

 Each one has a virtual mapping in IIS to a directory called COMMON, that
 has some shared code. So within the IIS site for each site, there is a
 Virtual Directory mapping to this Common directory.

 Now, in the directory for COMMON, we have coldfusion code that we want to
 be able to access the scoped variables (such as application, request, etc)
 of each individual site when called from that site.

 So in the COMMON directory, there is an APPLICATION.CFM file that has one
 line:

 cfinclude template=/application.cfm

 This works flawless on one production server, but on another, we just get
 an error:


 Could not find the included template /application.cfm.
 Note: If you wish to use an absolute template path (e.g.
 TEMPLATE=/mypath/index.cfm) with CFINCLUDE then you must create a mapping
 for the path using the ColdFusion Administrator. Using relative paths (e.g.
 TEMPLATE=index.cfm or TEMPLATE=../index.cfm) does not require the
 creation of any special mappings. It is therefore recommended that you use
 relative paths with CFINCLUDE whenever possible.

 The error occurred in D:\hostedsites\clientsites\common\Application.cfm:
 line 2

 1 :
 2 : cfinclude template=/application.cfm
 3 :


 For my life, I cannot figure out why. On the server that DOES work, we
 have no special CUSTOM TAG PATHS, no MAPPINGS,.and it works joyfully - its
 only on this new server.

 We are using CF version 7,0,2,142559 and IIS 5.0.

 Help is needed and appreciated!

 Thanks,

 Ben

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277481
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: IIS Virtual DIrectories and Shared Scope Vars

2007-05-09 Thread Dave Watts
 1 :
 2 : cfinclude template=/application.cfm
 3 :
 
 
 For my life, I cannot figure out why. On the server that DOES 
 work, we have no special CUSTOM TAG PATHS, no MAPPINGS,.and 
 it works joyfully - its only on this new server.

I'm fairly certain you're wrong about that. Any time you use a slash as the
first character within the path for CFINCLUDE or CFMODULE, the path is
always resolved via a mapping. I strongly suspect that you have at least one
mapping; the one that comes with a default install of CF, and is mapped to
wherever you specified as your web root during the install.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277483
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: IIS virtual directories

2003-08-01 Thread Douglas.Knudsen
ugh...this would be part of best practices...along with removing most of the script 
mappings too.  YMMV though

Doug

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 10:40 AM
To: CF-Talk
Subject: OT: IIS virtual directories


With IIS 5.0, can I delete the IISADMIN, MSADC and printers 
virtual directories w/o any problems to our website? I don't 
do any administration of the site except directly on the machine. 
Also, can I delete the Admin Web Site? What is it used or? 
Thanks. 
Robert O.



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: IIS virtual directories

2003-08-01 Thread Aidan Whitehall
 With IIS 5.0, can I delete the IISADMIN, MSADC and printers virtual
directories
 w/o any problems to our website? I don't do any administration of the
site except
 directly on the machine. Also, can I delete the Admin Web Site? What
is it used
 or? 

Run the IIS Lockdown utility first on a development server running IIS
-- it will give you a good idea of what can be safely deleted.


-- 
Aidan Whitehall mailto:[EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks Environmental Ltd  +44 (0)1695 51775
Queen's Awards Winner 2003 http://www.fairbanks.co.uk/go/awards


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4