Application.cfm in the root of the secure directory should be able to do this:
<cfinclude template="../content/application.cfm"> cf coder wrote: > Thank you Matt for the detailed explaination. I went back to review the code > yesterday and here is what I found. > > The regular domain webroot is "C:\inetpub\wwwroot\web\content" folder. There > is an application.cfm file in this folder and a <cfapplication> tag. When the > site is opened in a browser the application/session variables are set, ex: > http://www.testsite.com/index.cfm > > The view basket cfm page is in the content folder > (C:\inetpub\wwwroot\web\content) under the webroot. The template that gets > called when the user hits <a > href="https://www.secureweb.co.uk/testsite/order.cfm?CFID=3107295&CFTOKEN=20059956">Proceed</a> > "PROCEED" from viewbasket.cfm is in a folder under the webroot called secure > (C:\inetpub\wwwroot\web\secure\order.cfm). > > I noticed yesterday that the application.cfm file was not present in the > "secure" folder. I copied it over from the "content" folder. There is a > <cfinclude> tag in application.cfm that calls a template in the content > folder <cfinclude template="content/appvars.cfm">. I'm getting a file not > found error message and that's because the secure site does not have a folder > called "content". Is there a way round this, i.e by adding a virtual > directory in IIS or ColdFusion mapping? > > My hosting provider has provided with a readme.txt file with instructions: > > > WEB > --- > > This directory is the location for files connected with your web site and > contains the following directories. > > CONTENT > SECURE * (Platinum Plus customers only) > > CONTENT > ------- > > This is the directory that you should upload your web site files to. Inside > this directory is a file named default.asp which is a placeholder for your > web site. > > If you are creating code that requires the physical path on the web server to > this directory then it will be as follows: > > d:\inetpub\DOMAINNAME\web\ > > Replace the word domain name with your primary web site domain. For example, > if the site you have signed up for is named www.mysite.com then the path > would be d:\inetpub\mysite.com\web\ > > The CONTENT directory also contains a further directory named CGI-BIN which > should be used as the location for Perl and cgi files. > > By default the file extension recognised on this server for Perl and cgi > files is .pl > > SECURE (Platinum Plus customers only) > ------------------------------------- > > Under the Platinum Plus package you have access to our shared secure server. > > The directory SECURE is the directory to which you should upload files that > should appear under the secure site. > > > I would really appreciate your help. > > Thanks, > cfcoder > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242554 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

