Special Considerations

In some circumstances, ColdFusion will notice if you request a subdirectory that does not contain an index page. An index page is any file that the Web server recognizes as a file to run in a folder if no particular file name is specified. If no such file exists, the Web server may respond with a list of files. Typically, though, this is not done because it presents a security risk. If you do want this behavior, then you need to specify a new THIS scope variable named welcomeFileList. This variable consists of a list of files that match the index files specified by your Web server. It tells ColdFusion when it should and should not run onMissingTemplate for a subdirectory. However, this scenario applies only to the embedded ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.