> That's odd. When apache gets a request it shouldn't be passing > *everything* off to CF by default. Something has to tell Apache to hand > off a file to CF before it hands it back to the user who requested it... > hmm... > > I wonder if the mod_jrun adapter is what is telling Apache what files to > pass off to CF? I can't think of any other logical explaination for > that. If that's the case... then that sucks. That negates any control > Apache might give us over what specific files to pass off to CF, and any > control would HAVE to come from CF directly - which to my knowledge it > doesn't. > > You could get finer-grained control over this with a J2EE server and a > J2EE edition of CF. It doesn't look like it's possible with CF Standard.
If the Apache module works anything like the ISAPI modules used by CF with IIS, it passes EVERY request to CF regardless of the URL pattern. CF then uses the information in web.xml to look at the URL pattern and decide whether to process the request or let the web server process it. My understanding of the Apache module is that it does in fact work this way. Furthermore, it works the same way with CF Standard or Enterprise. Finally, I'm pretty sure that this is how most, if not all, J2EE application servers work. Very often, there isn't a file extension at all, but the J2EE application server may still need to process the request; for example, servlet paths have no file extension or file information at all. The Flash Gateway URL pattern is an example of a servlet URL pattern. To avoid the overhead of passing every request, however briefly, to the J2EE application server, you can place your application within a directory, and then configure the use of a context root. This is what was done on Macromedia's own site, if I recall correctly, which is why every CF URL begins with "/cfusion". The application server only examines requests with that URL pattern. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:313441 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

