|
Mailing Lists
|
Home / Groups / ColdFusion Talk (CF-Talk)
ColdFusion 9 and txt files> Really ? My Web server (IIS) only sends to CF requests for files having an extension defined in the IIS configuration, ie .cfm, .cfc,... > By defaut the Web server will just pass the file as is to the browser. No, actually, IIS is sending every request to CF. Otherwise, there are several things in CF that simply won't work. By default, when you run the Web Server Configuration Tool, it configures two integration points with IIS - a regular handler which uses a list of extensions, and a wildcard handler which maps to any URL that matches the CF context root (by default, "/"). The wildcard handler is used to process all requests. If you're using an older version of IIS, you'd have an ISAPI filter and an ISAPI extension doing basically the same thing - the filter captured all requests that match the context root. This is why, on the Adobe site, all CF pages have a URL pattern that includes "/cfusion" - this is the context root they're using, so that they don't have to pass all requests for static files through CF. This can reduce the amount of work your web server has to do, a little, but requires you to make sure your URLs all conform to the appropriate pattern. 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. |
May 19, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||