My question is how to implement a catch-all for "bogus" URLs?

Suppose the user manually enters a URL that does not have a
corresponding action.  Like this:

http://mydomain.com/mycontroller/myaction

Suppose "myaction" as an action (method) in controller "mycontroller"
has not been implemented (i.e., does not exist).  This causes an
error:

NotImplementedError: Action u'myaction' is not implemented

How do I create a catch-all in Pylons so that unimplemented actions
(and controllers, too) don't cause the app to go belly-up.

Thanks.
Edgar




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to