FusionReactor Technote - FRS-31

I've added an Exception to Crash Protection, but the page is still being aborted.

Description

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
Environment:
Resolution: Fixed
Added: 18/05/2007 12:23:01
Affects Version: 2.0
Fixed Version: 2.0
Server:
Platform:
Related Issues: None

Issue Feedback

Did you find this issue helpful?

0 out of 1 person found this article helpful

Current Events »

Jul
29
CFUnited Gold Sponsors Intergral GMBH

Spotlight »

Newsletter Sign Up »

Adobe Solution Partner »

Adobe Solution Partner Adobe Certified Professional ColdFusion MX 7 Adobe Certified Professional Flex Developer