2009年7月16日星期四

[fw-mvc] Router thinks mysite.com/js/my/customDojoClass.js is a valid controller - how to change?

(1.8.4) I was looking over my server error logs and noticed a number of errors like the following:

***
Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (js)' in /home1/tandrtra/Zend/Controller/Dispatcher/Standard.php:241
Stack trace:
#0 /home1/tandrtra/Zend/Controller/Front.php(945): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#1 /home1/tandrtra/public_html/inv/index.php(47): Zend_Controller_Front->dispatch()
#2 {main}
thrown in <b>/home1/tandrtra/Zend/Controller/Dispatcher/Standard.php</b> on line <b>241
***

I was looking through the manual, but I'm not sure how to tell the router that the route:


should be left alone. I'm sure this could probably be handled in the rewrite definitions in .htaccess, but since the rewrite rules are fairly alien to me, can I configure the router to accomplish this for me?

--
Regards,
Nathan @ T&R Trailer Sales

Tel: 719-546-2321
Fax: 719-404-4697

没有评论: