Question
How to configure CF8 to process all URL requests?
Configuration: Apache frontend, ColdfusionMX 8 application
server
My Application.cfc defines a cffunction OnRequestStart to check every URL (to ensure user is allowed access).
The function works fine for .cfm files (because the jrun-handler specifies .cfm files).
However I need every URL sent to Apache that contains a specific url-pattern (e.g. /secureMe/*) to be forwarded on to Coldfusion so that the OnRequestStart function will check for user access.
How do I configure Coldfusion (e.g. jrun-handler, web.xml, jrun-web.xml) to process every URL?
I've tried <servlet-mapping> and <virtual-mapping> and even tried out CFFileServlet but I cannot get Coldfusion to do anything with directories and non-cfm files.
Any solutions and suggestions would be greatly appreciated.
My Application.cfc defines a cffunction OnRequestStart to check every URL (to ensure user is allowed access).
The function works fine for .cfm files (because the jrun-handler specifies .cfm files).
However I need every URL sent to Apache that contains a specific url-pattern (e.g. /secureMe/*) to be forwarded on to Coldfusion so that the OnRequestStart function will check for user access.
How do I configure Coldfusion (e.g. jrun-handler, web.xml, jrun-web.xml) to process every URL?
I've tried <servlet-mapping> and <virtual-mapping> and even tried out CFFileServlet but I cannot get Coldfusion to do anything with directories and non-cfm files.
Any solutions and suggestions would be greatly appreciated.