
11
CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Administrator
L
ast
u
p
dated
7/9/2
01
2
Enable Whitespace Management
Compresses repeating sequences of spaces, tabs, and carriage returns and linefeeds. Compressing
whitespace can significantly compact the output of a ColdFusion page.
This option is enabled, by default.
Disable CFC Type Check
Turns off verifying the CFC type when calling methods with CFCs as arguments. This option also
disables verifying an object that implements the right interface.
Enabling this option can improve the performance of your application. However enable it only on a
production server.
Disable Access To Internal ColdFusion
Java Components
Prevents CFML code from accessing and creating Java objects that are part of the internal
ColdFusion implementation. This prevents a non-authenticated CFML template from reading or
modifying administration and configuration information for this server.
Prefix serialized JSON with
Protects web services, which return JSON data from cross-site scripting attacks by prefixing serialized
JSON strings with a custom prefix.
Enable In-Memory File System
Enables the in-memory virtual file system support. By default, this is enabled.
Memory Limit for In-Memory Virtual
File System
Lets you specify the memory limit in Megabytes (MB) for in-memory virtual file system.
Watch Configuration Files For Changes
(Check Every
n
Seconds)
Sets ColdFusion to monitor its configuration files and automatically reload them if they change. This
action is required if you deploy ColdFusion in a WebSphere ND vertical cluster, because multiple
instances of ColdFusion share the same configuration files. It is recommended that you do not
enable this feature for most installations.
Enable Global Script Protection
Protects Form, URL, CGI, and Cookie scope variables from cross-site scripting attacks. Select this
option if your application does not contain this type of protection logic.
Allow Extra Attributes in
AttributeCollection
Specify whether ColdFusion tags can pass non-standard attributes in the attributecollection
structure.
Clear temporary files created during
CFaaS after
Specify the time in minutes after which the temporary files created during CF as a Service(CFaaS)
operation must be deleted. The default value is 30 minutes.
ORM Search Index Directory
Specify the index directory (the one in which all persistent entities, of an application's indexable data,
are saved) either at the server-level or application-level.
Default ScriptSrc Directory
Specify the default path (relative to the web root) to the directory that contains the cfform.js file.
Developers reference this file in the ScriptSrc attribute of the
cfform
tag.
In a hosted environment, you might need to move the cfform.js file to a directory other than CFIDE.
Google Map API Key
Specify the Google Map API license key that you require to access Google Maps.
Component with onServerStart()
method
Specify the absolute path to a CFC having onServerStart() method or specify a dot delimited CFC
path under web root, like "a.b.server". By default, ColdFusion looks for server.cfc under web root.
Application.cfc/Application.cfm
lookup order
Select the order in which ColdFusion searches for Application.cfm or Application.cfc if it is not found
in the current project folder. You can set ColdFusion to search as follows:
•
default search order: ColdFusion looks for an Application.cfc/Application.cfm file from the current
folder until the system root directory. On Windows, this could be C:\ and on UNIX, /opt.
•
till web root: ColdFusion looks for an Application.cfc/Application.cfm file from the current folder
till web root.
•
in web root: ColdFusion looks for an Application.cfc/Application.cfm file in the current folder or
web root.
Missing Template Handler
Specify a page to execute when ColdFusion cannot find a requested page. This specification is
relative to the web root.
Note: If the user is running Microsoft Internet Explorer with "Show Friendly HTTP error messages"
enabled, Internet Explorer displays this page only if it contains more than 512 bytes.
Option
Description