CF8 on Win2K3.

I have some core software written in CF8 that I use for web site basics --
content management, security, etc.  The directory for this software is set
up in IIS as the web root -- let's say this path for this is
c:\inetpub\wwwroot\app\core.  If the customer requires any custom
functionality, I put that code, along with any other site-specific code such
as layout templates, stylesheets, etc. in a separate directory that is then
mapped as a virtual directory in IIS to "/site" -- let's call this
c:\inetpub\wwwroot\sites\site_name

The problem that I'm having is that I'm using an application.cfc file in the
web root (c:\inetpub\wwwroot\app\core\application.cfc); all of the core site
functionality that is under this path works 100% correctly.  However, the CF
files in the /site virtual directory (c:\inetpub\wwwroot\sites\site_name)
are not finding the application.cfc file in the web root.

This is pretty much a show-stopper for me, and I need a way to resolve this
-- many of the files in /site need access to the variables that I'm setting
in the application.cfc file.  The site is hosted on a shared server, so I
don't have access to the CF administrator.  Other than putting a copy of the
application.cfc file in the /site root (which I don't want to do, since I
don't want to duplicate code), is there a solution for this problem?  Can I
create a shell application.cfc file and call each of the methods from the
root application.cfc file?  How would I do this in a way that wouldn't cause
issues?

Thanks,

Pete


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320070
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to