Yep remove the virtual directory, when you do it this way the virtual
directory will be using the application.cfc up from where it is first
located. And that is defined by your virtual directory.


Regards,
Andrew Scott
http://www.andyscott.id.au/



> -----Original Message-----
> From: Chad Gray [mailto:cg...@careyweb.com]
> Sent: Thursday, 7 July 2011 4:40 AM
> To: cf-talk
> Subject: RE: code sharing in IIS
> 
> 
> Thanks for everyone's feedback.
> 
> I have a question now that I am experimenting with it.
> 
> I have two web sites that have these files in them:
> 
> C:\wwwroot\site1\Application.cfc
> C:\wwwroot\site1\foo\index.cfm
> 
> C:\wwwroot\site2\Application.cfc
> C:\wwwroot\site2\foo -->(virtual directory to C:\wwwroot\site1\foo)
> 
> When I load
> http://site2/foo/index.cfm
> 
> The application.cfc fromSite1 is being used, not the application.cfc from
> site2...
> 
> Any way to get the site2 application.cfc to be used instead of site1?
> 
> Thanks,
> Chad


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346121
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to