> I have a client with a site on a shared host. Yesterday, the site was > throwing 500 server errors and reporting that files in CFIDE directory > could not be found. > > The tech at the hosting company did some changes which resolved the > problem. However, one of the changes involved putting the web.config file > in the web root. > > This is a CF9 site on IIS. I have never encountered web.config in web root > on a CF site running on Windows. Doesn't seem to me that it should be > there.
IIS 7 uses .config files for its settings, so this is normal like Andrew said. There are several different settings files: web.config, applicationHost.config, machine.config (and more besides!) The appropriate location for web.config is within a web root or within a virtual application root. However, you can run into situations where these settings conflict, so you have to be careful. I ran into one yesterday, actually, where I added an IIS setting, it created a web.config where none had been, and other things stopped working because they were set differently in the .config file in the next level up (applicationHost.config) > Also, now if I go to domainname.com/CFIDE I get a 403 error page with some > site info displayed. Doesn't seem like that is good practice. Is this set up as a virtual application in IIS? If so, it may need its own web.config. Also, you probably want to make sure you can't get to /CFIDE/administrator on your public interface. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:352319 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm