[frs-31] I’ve added an Exception to Crash Protection, but the page is still being aborted.


Exceptions need to be entered carefully to work. There are two common problems:

1. Incorrectly entered Request Patterns:

The exception URL should be entered without the http:// and without the hostname if the Hostname field is set to Ignore. Here are some examples:

If you want to exclude the page: http://myserver/cfmpages/mypage.cfm

The exclusion could be entered as follows:

Request Exact Match
  /cfmpages/mypage.cfm
(Please Note: the string starts with a /)
Hostname Ignore
Parameters Ignore
Exclude from Timeout Protection

If you want to exclude http://myserver/cfmpages/mypage.cfm only if it is run with the hostname "myserver", the exclusion could be entered as follows:

Request Exact Match
  myserver/cfmpages/mypage.cfm
(Please Note: the string starts with a /)
Hostname Check
Parameters Ignore
Exclude from Timeout Protection

2. Trying to match a number of files or folders without using Regular Expressions:

You must set the Exclusion type Regular Expression if you want to match a number of files or folders. Here are some examples:

If you want to exclude the page any page called myfile.cfm

The exclusion could be entered as follows:

Request Regular Expression
  (.*)myfile.cfm
Hostname Ignore
Parameters Ignore
Exclude from Timeout Protection

Some Sample Regular Expressions Exclusions are:

(.*)myfile.cfm
This will match any file called myfile.cfm in any directory

/myfolder/myfile.cfm
This will match any URL which contains "/myfolder/myfile.cfm"

/myfolder/(.*)
This will match anything within "myfolder"

/myfile.cfm
This will match any files named myfile.cfm which are inside a directory.

.((cfm)|(jsp))
This will match any .cfm or .jsp file.

/myfile.cfm/?(.*)mode=add
This expects parameter checking to be enabled. It will match any file named myfile.cfm which has the string "mode=add" as part of it's parameters. (Note: This will also match mymode=add.)

/batch[0-9].cfm
This will match files names batch0.cfm, batch1.cfm … batch9.cfm

Issue Details

Type: Technote
Issue Number: FRS-31
Components: Crash Protection, FusionReactor Settings
Environment:
Resolution: Fixed
Last Updated: 19/Jun/07 1:58 PM
Affects Version: 2.0
Fixed Version: 2.0
Server:
Platform:
Related Issues: