While not a true solution, here's a hack of sorts that might suit your needs.... You could set your default filename to something uncommon (eg. "guessThis.cfm") that simply sets a SESSION var or an URL var and redirects the user to "index.cfm" (or whatever the current default filename is). Existence of the variable would suggest that the user tried accessing the site without specifying a filename.
Like I said, it's a hack, but perhaps it'll do for you. -- Mosh Teitelbaum evoch, LLC Tel: (301) 625-9191 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ > -----Original Message----- > From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 18, 2002 4:18 PM > To: CF-Talk > Subject: Re: How to get exact template requested > > > Samuel Neff wrote: > > > Since the web server maps a request-line to a template file name, it > > may be that the only way to get this info is at the web server > > level > > That was my initial thought as well. But I would just find it a bit > weird if this means that there is no way of differentiating between a > request for a directory where the webserver adds a default template and > directly for that template. I never imagined that my security > requirements where that outrageous. > > > --perhaps with an ISAPI filter for IIS or mod for apache. If this is > > feasible, you may be able to add a new custom CGI variable with this > > info which is then easily accessible from CF/Java. > > CF MX already works through an ISAPI filter with IIS. I would find it > more logical if Macromedia added it to the CF MX filter if there is > really no way to do it now. Or they could implement Digest > Authentication for cflogin themselves :) > > Jochem > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com

