I met the exactly same issue (having same setup with Ben: Win 7 + IIS
7.5 + URL Rewrite 2.0 + Railo 3.3.2 + CFWheels 1.1.7, only that I rely
on IIS redirect)
Lines in my routes:
<cfset addRoute(name="kbMetrics", pattern="kb/metrics",
controller="knova", action="getMetrics")>
<cfset addRoute(name="home", pattern="", controller="home",
action="index")>
Here's the dump of "application.wheels.routes":
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Array
1
Scope Arguments
name 1
string kbMetrics
pattern 2
string kb/metrics
controller 3
string knova
action 4
string getMetrics
VARIABLES 5
string
2
Scope Arguments
name 1
string home
pattern 2
string
controller 3
string home
action 4
string index
VARIABLES 5
string
3
Scope Arguments
name 1
string
pattern 2
string [controller]/[action]/[key]
controller 3
string
action 4
string
VARIABLES 5
string controller,action,key
4
Scope Arguments
name 1
string
pattern 2
string [controller]/[action]
controller 3
string
action 4
string
VARIABLES 5
string controller,action
5
Scope Arguments
name 1
string
pattern 2
string [controller]
controller 3
string
action 4
string index
VARIABLES 5
string controller
~~~~~~~~~~~~~~~~~~~~~
hitting
http://localhost/kb/metrics always displays /views/home/
index.cfm (instead of /views/knova/getmetrics.cfm) with the following
debug info:
----------------------------------------------------
Application: C07DDA5181D3362104902513AB3D7C82 [Reload, Run Tests]
Framework: Wheels 1.1.7
CFML Engine: Railo 3.3.2.000
Default Data Source: insight2
Active Environment: Development [Design, Testing, Maintenance,
Production]
URL Rewriting: On
URL Obfuscation: Off
Plugins: None
Route: home
Controller: Home
Action: index
Additional Params: reload = development
Caching Stats: hits: 0, culls: 0, misses: 0
Execution Time: 57ms (action ~24ms, view ~23ms, reload ~20ms,
requestend ~1ms, afterfilters ~1ms)
--------------------------------------------------
Looking forward to any insights!
Thank you!