On Thursday, August 1, 2002, at 06:05 , Alistair Davidson wrote: > Off the top of my head I can't think of a reason why that wouldn't work, > but to my mind, relying on the server's error catching to perform > designed functionality just "feels" wrong - it feels like bad design, > and it's shifting some of your logic from the application itself to the > server software that it's running under.
Well, whichever way you slice this problem, it amounts to much the same thing: URL mapping. People who use Apache do this sort of stuff all the time via rewrite rules, redirects and proxies. If I was Bill, I'd dumped IIS and install Apache and have it rewrite the URLs from ^/[A-Za-z]*/?$ to /lookup.cfm?directory=$1 (which would also have to deal with any other valid top-level directories that had default index pages). Although with Apache, you could make the redirects and rewrites as smart as you wanted. Generally, people who run Apache feel that customizing Apache to achieve the desired result for the web site is perfectly reasonable - the config is all in text files that you can keep under version control. I can see why people who run IIS wouldn't want to do the same sort of thing... "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

